Basic Simulation Lab with MATLAB
|
|
- Eileen Harper
- 5 years ago
- Views:
Transcription
1 Chapter 3: Generation of Signals and Sequences 1. t = 0 : : 1; Generate a vector of 1001 samples for t with a value between 0 & 1 with an increment of y = 0.5 * t; Generate a linear ramp with a slope of plot( t, y ); Plot the graph 4. xlabel ('Time Index t (sec.)'); Label the X-axis 5. Label the Y-axis 6. title ('Ramp Signal Sequence'); Add an appropriate title to the graph Table 3.1 : MATLAB code for Ramp Signal Generation 1. t = 0 : : 0.1; Generate a vector of samples for t with a value between 0 & 0.1 with an increment of y = square ( 2 * pi * 50 * t); Generate a square wave of frequency 50 Hz, by calling the MATLAB inbuilt function square. 3. plot (t, y); axis ( [ ] ); Plot the graph. Adjust the X and Y coordinates to view a few cycles of the square wave. 4. xlabel ('Time Index t (sec.)'); 5. title ('Square Wave Signal Sequence'); Add an appropriate title to the graph Table 3.2 : MATLAB code for Square Wave Signal Generation
2 1. fs = 10000; Set the sampling frequency fs as t = 0 : 1/fs : 1.5; Generate a vector of samples for t with a value between 0 & 1.5 with an increment of x = sawtooth (2 * pi * 100 * t); Generate a Saw Tooth wave of frequency 100 Hz, by calling the MATLAB built-in function sawtooth. 4. plot( t, x ); axis ( [ ] ); Plot the graph. Adjust the X and Y coordinates to view a few cycles of the Saw Tooth wave. 5. xlabel ('Time Index t (sec.)'); 6. title ('Sawtooth Wave Signal Sequence'); Add an appropriate title to the graph Table 3.3 : MATLAB code for Saw Tooth Wave Generation
3 1. fs = 10000; Set the sampling frequency fs as t = 0 : 1/fs : 1.5; Generate a vector of samples for t with a value between 0 & 1.5 with an increment of x = sawtooth (2 * pi * 50 * t, 0.5); Generate a Triangular wave of frequency 50 Hz, by calling the MATLAB built-in function sawtooth with 0.5 as the duty cycle parameter. 4. plot(t,x); axis ( [ ] ); Plot the graph. Adjust the X and Y coordinates to view a few cycles of the triangular wave. 5. xlabel ('Time Index t (sec.)'); 6. title ('Triangular Wave Signal Sequence'); Add an appropriate title to the graph Table 3.4 : MATLAB Code for Triangular Wave Generation
4 1. N=20; Set a limit 20 for X-axis coordinate time. 2. t = -N :.0001 : N; Generate a vector of samples for t with a value between -20 & 20 with a step size of The X- axis range is from -20 to theta = input('the phase angle is '); Input the desired Phase Angle for the variable called theta 4. x = sin (2 * pi * 50 * t + theta); Generate a Sine Wave of frequency 50 Hz and desired phase angle theta, by calling the MATLAB built-in function sin. 5. plot( t, x ); axis( [ ] ); Plot the graph. Adjust the X and Y coordinates to view a few cycles of the Sine wave. 6. grid; Insert horizontal and vertical grid in the graph for easy measurement of parameters. 7. xlabel ('Time Index t (sec.)'); 8. title ('Sinusoidal Signal of Frequency 50 Hz and Desired Phase'); Add an appropriate title to the graph Table 3.5 : MATLAB Code for Sine Wave Signal Generation 1. t = linspace(-5, 5); Generate a vector of 100 linearly spaced samples for t with a value between -5 & 5 2. y = sinc(t); Call the built-in 'Sinc' function to generate the Sinc signal of 100 samples 3. plot( t, y ); Plot the graph. 4. xlabel ('Time Index t (sec.)'); 5. title ('Sinc Signal Sequence'); Add an appropriate title to the graph Table 3.6 : MATLAB Code for Sinc Signal Generation
5 1. clc; Clear Command Window for a clean view 2. clear all; Clear all the previously defined variables 3. m1 = input ( ' Please input a NEGATIVE Set a limit for negative X-axis number for m1 '); 4. m2 = input ( ' Please input a POSITIVE number for m2 '); Set a limit for positive X-axis 5. m = [m1 : m2]; Define the range for X-axis 6. x = zeros(1,m2-m1+1); Create a row vector of zeros 7. m0 = input ( ' Type 0 for Unit Impulse, negative/ positive no. for delayed/ advanced signal '); Define the place of the single unit impulse on the X-axis 8. x(m0-m1+1) = 1; Set the amplitude of the unit impulse as 1 at the defined place 9. stem( m, x ); axis( [ m1 m ] ); Plot the graph as stems. Adjust the X and Y coordinates to view a nice graph. 10. xlabel ('Time Index m (sec.)'); 11. title ('Unit Impulse Signal Sequence'); Add an appropriate title to the graph Table 3.7 : MATLAB Code for Unit Impulse Signal Generation
6 1. clc; clear all; Clear Command Window and all the previously defined variables for a clean view 2. k1 = input ( ' Please input a NEGATIVE Set a limit for negative X-axis number for k1 '); 3. k2 = input ( ' Please input a POSITIVE number for k2 '); Set a limit for positive X-axis 4. k0 = input ( ' Type 0 for normal Unit Step, a negative or positive no. for a shifted one '); Decide on the type of Unit Step desired and accordingly feed an input 5. k = [k1 : k2]; Define the range for X-axis 6. x = zeros(1,k2-k1+1); Create a row vector of zeros 7. x( k0-k1+1 : end ) = 1; Set the amplitude of the unit step as 1 from the place of starting until end. 8. stem( k, x ); axis ( [ k1 k ] ); 9. xlabel ('Time Index k (sec.)'); Plot the graph as stems. Adjust the X and Y coordinates to view a decent looking graph. 10. title ('Unit Step Signal Sequence'); Add an appropriate title to the graph Table 3.8 : MATLAB Code for Unit Step Signal Generation
How to learn MATLAB? Some predefined variables
ECE-S352 Lab 1 MATLAB Tutorial How to learn MATLAB? 1. MATLAB comes with good tutorial and detailed documents. a) Select MATLAB help from the MATLAB Help menu to open the help window. Follow MATLAB s Getting
More informationPC-MATLAB PRIMER. This is intended as a guided tour through PCMATLAB. Type as you go and watch what happens.
PC-MATLAB PRIMER This is intended as a guided tour through PCMATLAB. Type as you go and watch what happens. >> 2*3 ans = 6 PCMATLAB uses several lines for the answer, but I ve edited this to save space.
More informationEE 301 Signals & Systems I MATLAB Tutorial with Questions
EE 301 Signals & Systems I MATLAB Tutorial with Questions Under the content of the course EE-301, this semester, some MATLAB questions will be assigned in addition to the usual theoretical questions. This
More informationA Guide to Using Some Basic MATLAB Functions
A Guide to Using Some Basic MATLAB Functions UNC Charlotte Robert W. Cox This document provides a brief overview of some of the essential MATLAB functionality. More thorough descriptions are available
More informationVertical and Horizontal Translations
SECTION 4.3 Vertical and Horizontal Translations Copyright Cengage Learning. All rights reserved. Learning Objectives 1 2 3 4 Find the vertical translation of a sine or cosine function. Find the horizontal
More information2 Lab 2: LabVIEW and Control System Building Blocks
2 Lab 2: LabVIEW and Control System Building Blocks 2.1 Introduction Controllers are built from mechanical or electrical building blocks. Most controllers are implemented in a program using sensors to
More informationSignals and Systems Profs. Byron Yu and Pulkit Grover Fall Homework 1
18-290 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 2018 Homework 1 This homework is due in class on Thursday, September 6, 9:00am. Instructions Solve all non-matlab problems using only paper
More informationModeling an Impulse in Simulink
INTRODUCTION Often a dynamic system is subject to an impulsive load, such as a blow from a hammer. It is important to be able to model such systems to understand what the response will be. This tutorial
More informationIntroduction to MATLAB LAB 1
Introduction to MATLAB LAB 1 1 Basics of MATLAB MATrix LABoratory A super-powerful graphing calculator Matrix based numeric computation Embedded Functions Also a programming language User defined functions
More information1-- Pre-Lab The Pre-Lab this first week is short and straightforward. Make sure that you read through the information below prior to coming to lab.
EELE 477 Lab 1: Introduction to MATLAB Pre-Lab and Warm-Up: You should read the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in the Pre-Lab section before attending your
More informationIntroduction to Octave/Matlab. Deployment of Telecommunication Infrastructures
Introduction to Octave/Matlab Deployment of Telecommunication Infrastructures 1 What is Octave? Software for numerical computations and graphics Particularly designed for matrix computations Solving equations,
More informationINTRODUCTION TO MATLAB PLOTTING WITH MATLAB
1 INTRODUCTION TO MATLAB PLOTTING WITH MATLAB Plotting with MATLAB x-y plot Plotting with MATLAB MATLAB contains many powerful functions for easily creating plots of several different types. Command plot(x,y)
More informationHands-on Lab. LabVIEW Simulation Tool Kit
Hands-on Lab LabVIEW Simulation Tool Kit The LabVIEW Simulation Tool Kit features a comprehensive suite of tools to test designs. This lab provides a primer to implementing a simulation. This will be useful
More informationLaboratory 1 Introduction to MATLAB for Signals and Systems
Laboratory 1 Introduction to MATLAB for Signals and Systems INTRODUCTION to MATLAB MATLAB is a powerful computing environment for numeric computation and visualization. MATLAB is designed for ease of use
More informationLab P-1: Introduction to MATLAB. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization.
DSP First, 2e Signal Processing First Lab P-1: Introduction to MATLAB Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in
More informationELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah)
Introduction ELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah) MATLAB is a powerful mathematical language that is used in most engineering companies today. Its strength lies
More informationSection 7.6 Graphs of the Sine and Cosine Functions
Section 7.6 Graphs of the Sine and Cosine Functions We are going to learn how to graph the sine and cosine functions on the xy-plane. Just like with any other function, it is easy to do by plotting points.
More informationChapter 5.4: Sinusoids
Chapter 5.4: Sinusoids If we take our circular functions and unwrap them, we can begin to look at the graphs of each trig function s ratios as a function of the angle in radians. We will begin by looking
More informationMath12 Pre-Calc Review - Trig
Math1 Pre-Calc Review - Trig Multiple Choice Identify the choice that best completes the statement or answers the question. 1. Which of the following angles, in degrees, is coterminal with, but not equal
More informationEE-3221 MATLAB INTRODUCTION
MATLAB INTRODUCTION Goal Become familiar with MATLAB and its ability to manipulate and plot discrete signals (sequences of numbers). Background MATLAB is an industry-standard software package for processing
More informationWaveform and Timing Generator Description
I. Abstract A PC-controlled Waveform and Timing Generator (WTG) Instrument was developed using the Opal Kelly XEM3001 PCB mated with an Optiphase custom adapter PCB. The WTG Instrument was developed to
More informationAn Introduction to MATLAB II
Lab of COMP 319 An Introduction to MATLAB II Lab tutor : Gene Yu Zhao Mailbox: csyuzhao@comp.polyu.edu.hk or genexinvivian@gmail.com Lab 2: 16th Sep, 2013 1 Outline of Lab 2 Review of Lab 1 Matrix in Matlab
More informationGeorge Mason University Signals and Systems I Spring 2016
George Mason University Signals and Systems I Spring 2016 Laboratory Project #1 Assigned: January 25, 2016 Due Date: Laboratory Section on Week of February 15, 2016 Description: The purpose of this laboratory
More informationLesson 5.2: Transformations of Sinusoidal Functions (Sine and Cosine)
Lesson 5.2: Transformations of Sinusoidal Functions (Sine and Cosine) Reflections Horizontal Translation (c) Vertical Translation (d) Remember: vertical stretch horizontal stretch 1 Part A: Reflections
More informationMath 144 Activity #4 Connecting the unit circle to the graphs of the trig functions
144 p 1 Math 144 Activity #4 Connecting the unit circle to the graphs of the trig functions Graphing the sine function We are going to begin this activity with graphing the sine function ( y = sin x).
More informationExercises Unit 4. Graphics User Interface
Exercises Unit 4. Graphics User Interface Working period: Seventh and Eighth weeks Due date: 21 April 2013 Submit only one file name_e4.pdf containing the solution to the following exercises. Include the
More informationEE3TP4: Signals and Systems Lab 1: Introduction to Matlab Tim Davidson Ext Objective. Report. Introduction to Matlab
EE3TP4: Signals and Systems Lab 1: Introduction to Matlab Tim Davidson Ext. 27352 davidson@mcmaster.ca Objective To help you familiarize yourselves with Matlab as a computation and visualization tool in
More informationMatlab Introduction. Scalar Variables and Arithmetic Operators
Matlab Introduction Matlab is both a powerful computational environment and a programming language that easily handles matrix and complex arithmetic. It is a large software package that has many advanced
More informationMatlab is a tool to make our life easier. Keep that in mind. The best way to learn Matlab is through examples, at the computer.
Learn by doing! The purpose of this tutorial is to provide an introduction to Matlab, a powerful software package that performs numeric computations. The examples should be run as the tutorial is followed.
More informationModule 4 Graphs of the Circular Functions
MAC 1114 Module 4 Graphs of the Circular Functions Learning Objectives Upon completing this module, you should be able to: 1. Recognize periodic functions. 2. Determine the amplitude and period, when given
More informationMath 30-1 Sample Test Questions
Math 30-1 Sample Test Questions Instructions: This sample test is designed to give the student some prior indication of what the course content for Math 30-1 is like It is to be used to help the student
More informationAVR32765: AVR32 DSPLib Reference Manual. 32-bit Microcontrollers. Application Note. 1 Introduction. 2 Reference
AVR32765: AVR32 DSPLib Reference Manual 1 Introduction The AVR 32 DSP Library is a compilation of digital signal processing functions. All function availables in the DSP Library, from the AVR32 Software
More information1. GRAPHS OF THE SINE AND COSINE FUNCTIONS
GRAPHS OF THE CIRCULAR FUNCTIONS 1. GRAPHS OF THE SINE AND COSINE FUNCTIONS PERIODIC FUNCTION A period function is a function f such that f ( x) f ( x np) for every real numer x in the domain of f every
More informationGraphing Trig Functions - Sine & Cosine
Graphing Trig Functions - Sine & Cosine Up to this point, we have learned how the trigonometric ratios have been defined in right triangles using SOHCAHTOA as a memory aid. We then used that information
More informationComputing Fundamentals Plotting
Computing Fundamentals Plotting Salvatore Filippone salvatore.filippone@uniroma2.it 2014 2015 (salvatore.filippone@uniroma2.it) Plotting 2014 2015 1 / 14 Plot function The basic function to plot something
More informationSpreadsheet and Graphing Exercise Biology 210 Introduction to Research
1 Spreadsheet and Graphing Exercise Biology 210 Introduction to Research There are many good spreadsheet programs for analyzing data. In this class we will use MS Excel. Below are a series of examples
More informationMath 144 Activity #2 Right Triangle Trig and the Unit Circle
1 p 1 Right Triangle Trigonometry Math 1 Activity #2 Right Triangle Trig and the Unit Circle We use right triangles to study trigonometry. In right triangles, we have found many relationships between the
More informationPractice Test (page 391) 1. For each line, count squares on the grid to determine the rise and the run. Use slope = rise
Practice Test (page 91) 1. For each line, count squares on the grid to determine the rise and the. Use slope = rise 4 Slope of AB =, or 6 Slope of CD = 6 9, or Slope of EF = 6, or 4 Slope of GH = 6 4,
More informationPlotting - Practice session
Plotting - Practice session Alessandro Fanfarillo - Salvatore Filippone fanfarillo@ing.uniroma2.it May 28th, 2013 (fanfarillo@ing.uniroma2.it) Plotting May 28th, 2013 1 / 14 Plot function The basic function
More informationMATLAB Tutorial. Mohammad Motamed 1. August 28, generates a 3 3 matrix.
MATLAB Tutorial 1 1 Department of Mathematics and Statistics, The University of New Mexico, Albuquerque, NM 87131 August 28, 2016 Contents: 1. Scalars, Vectors, Matrices... 1 2. Built-in variables, functions,
More informationThis is called the horizontal displacement of also known as the phase shift.
sin (x) GRAPHS OF TRIGONOMETRIC FUNCTIONS Definitions A function f is said to be periodic if there is a positive number p such that f(x + p) = f(x) for all values of x. The smallest positive number p for
More informationUNIVERSITI TEKNIKAL MALAYSIA MELAKA FAKULTI KEJURUTERAAN ELEKTRONIK DAN KEJURUTERAAN KOMPUTER
UNIVERSITI TEKNIKAL MALAYSIA MELAKA FAKULTI KEJURUTERAAN ELEKTRONIK DAN KEJURUTERAAN KOMPUTER FAKULTI KEJURUTERAAN ELEKTRONIK DAN KEJURUTERAAN KOMPUTER BENC 2113 DENC ECADD 2532 ECADD LAB SESSION 6/7 LAB
More informationINTRODUCTION TO MATLAB, SIMULINK, AND THE COMMUNICATION TOOLBOX
INTRODUCTION TO MATLAB, SIMULINK, AND THE COMMUNICATION TOOLBOX 1) Objective The objective of this lab is to review how to access Matlab, Simulink, and the Communications Toolbox, and to become familiar
More informationCan be put into the matrix form of Ax=b in this way:
Pre-Lab 0 Not for Grade! Getting Started with Matlab Introduction In EE311, a significant part of the class involves solving simultaneous equations. The most time efficient way to do this is through the
More information1. Register an account on: using your Oxford address
1P10a MATLAB 1.1 Introduction MATLAB stands for Matrix Laboratories. It is a tool that provides a graphical interface for numerical and symbolic computation along with a number of data analysis, simulation
More informationEric W. Hansen. The basic data type is a matrix This is the basic paradigm for computation with MATLAB, and the key to its power. Here s an example:
Using MATLAB for Stochastic Simulation. Eric W. Hansen. Matlab Basics Introduction MATLAB (MATrix LABoratory) is a software package designed for efficient, reliable numerical computing. Using MATLAB greatly
More informationSection 6.2 Graphs of the Other Trig Functions
Section 62 Graphs of the Other Trig Functions 369 Section 62 Graphs of the Other Trig Functions In this section, we will explore the graphs of the other four trigonometric functions We ll begin with the
More informationMAT 115: Precalculus Mathematics Constructing Graphs of Trigonometric Functions Involving Transformations by Hand. Overview
MAT 115: Precalculus Mathematics Constructing Graphs of Trigonometric Functions Involving Transformations by Hand Overview Below are the guidelines for constructing a graph of a trigonometric function
More informationSec 4.1 Coordinates and Scatter Plots. Coordinate Plane: Formed by two real number lines that intersect at a right angle.
Algebra I Chapter 4 Notes Name Sec 4.1 Coordinates and Scatter Plots Coordinate Plane: Formed by two real number lines that intersect at a right angle. X-axis: The horizontal axis Y-axis: The vertical
More informationEE 301 Lab 1 Introduction to MATLAB
EE 301 Lab 1 Introduction to MATLAB 1 Introduction In this lab you will be introduced to MATLAB and its features and functions that are pertinent to EE 301. This lab is written with the assumption that
More informationReview of Trigonometry
Worksheet 8 Properties of Trigonometric Functions Section Review of Trigonometry This section reviews some of the material covered in Worksheets 8, and The reader should be familiar with the trig ratios,
More information1. The Pythagorean Theorem
. The Pythagorean Theorem The Pythagorean theorem states that in any right triangle, the sum of the squares of the side lengths is the square of the hypotenuse length. c 2 = a 2 b 2 This theorem can be
More informationAMS 27L LAB #2 Winter 2009
AMS 27L LAB #2 Winter 2009 Plots and Matrix Algebra in MATLAB Objectives: 1. To practice basic display methods 2. To learn how to program loops 3. To learn how to write m-files 1 Vectors Matlab handles
More informationMath 7 Elementary Linear Algebra PLOTS and ROTATIONS
Spring 2007 PLOTTING LINE SEGMENTS Math 7 Elementary Linear Algebra PLOTS and ROTATIONS Example 1: Suppose you wish to use MatLab to plot a line segment connecting two points in the xy-plane. Recall that
More informationMath 1330 Final Exam Review Covers all material covered in class this semester.
Math 1330 Final Exam Review Covers all material covered in class this semester. 1. Give an equation that could represent each graph. A. Recall: For other types of polynomials: End Behavior An even-degree
More informationARRAY VARIABLES (ROW VECTORS)
11 ARRAY VARIABLES (ROW VECTORS) % Variables in addition to being singular valued can be set up as AN ARRAY of numbers. If we have an array variable as a row of numbers we call it a ROW VECTOR. You can
More informationSNAP Centre Workshop. Introduction to Trigonometry
SNAP Centre Workshop Introduction to Trigonometry 62 Right Triangle Review A right triangle is any triangle that contains a 90 degree angle. There are six pieces of information we can know about a given
More informationLAB 1: Introduction to MATLAB Summer 2011
University of Illinois at Urbana-Champaign Department of Electrical and Computer Engineering ECE 311: Digital Signal Processing Lab Chandra Radhakrishnan Peter Kairouz LAB 1: Introduction to MATLAB Summer
More information( ) = 1 4. (Section 4.6: Graphs of Other Trig Functions) Example. Use the Frame Method to graph one cycle of the graph of
(Section 4.6: Graphs of Other Trig Functions) 4.63 Example Use the Frame Method to graph one cycle of the graph of y = 2 tan 2 5 x 3. (There are infinitely many possible cycles.) Solution Fortunately,
More information8B.2: Graphs of Cosecant and Secant
Opp. Name: Date: Period: 8B.: Graphs of Cosecant and Secant Or final two trigonometric functions to graph are cosecant and secant. Remember that So, we predict that there is a close relationship between
More informationDSP First. Laboratory Exercise #1. Introduction to MATLAB
DSP First Laboratory Exercise #1 Introduction to MATLAB The Warm-up section of each lab should be completed during a supervised lab session and the laboratory instructor should verify the appropriate steps
More informationMHF4U. Advanced Functions Grade 12 University Mitchell District High School. Unit 5 Trig Functions & Equations 5 Video Lessons
MHF4U Advanced Functions Grade 12 University Mitchell District High School Unit 5 Trig Functions & Equations 5 Video Lessons Allow no more than 12 class days for this unit! This includes time for review
More informationTranslation of graphs (2) The exponential function and trigonometric function
Lesson 35 Translation of graphs (2) The exponential function and trigonometric function Learning Outcomes and Assessment Standards Learning Outcome 2: Functions and Algebra Assessment Standard Generate
More informationSection Graphs of the Sine and Cosine Functions
Section 5. - Graphs of the Sine and Cosine Functions In this section, we will graph the basic sine function and the basic cosine function and then graph other sine and cosine functions using transformations.
More informationA very brief Matlab introduction
A very brief Matlab introduction Siniša Krajnović January 24, 2006 This is a very brief introduction to Matlab and its purpose is only to introduce students of the CFD course into Matlab. After reading
More informationSTAT/MATH 395 A - PROBABILITY II UW Winter Quarter Matlab Tutorial
STAT/MATH 395 A - PROBABILITY II UW Winter Quarter 2016 Néhémy Lim Matlab Tutorial 1 Introduction Matlab (standing for matrix laboratory) is a high-level programming language and interactive environment
More informationContents 10. Graphs of Trigonometric Functions
Contents 10. Graphs of Trigonometric Functions 2 10.2 Sine and Cosine Curves: Horizontal and Vertical Displacement...... 2 Example 10.15............................... 2 10.3 Composite Sine and Cosine
More information9.5 Polar Coordinates. Copyright Cengage Learning. All rights reserved.
9.5 Polar Coordinates Copyright Cengage Learning. All rights reserved. Introduction Representation of graphs of equations as collections of points (x, y), where x and y represent the directed distances
More informationEfficacy of Numerically Approximating Pi with an N-sided Polygon
Peter Vu Brewer MAT66 Honors Topic Efficacy of umerically Approximating Pi with an -sided Polygon The quest for precisely finding the irrational number pi has been an endeavor since early human history.
More informationMid-Chapter Quiz: Lessons 9-1 through 9-3
Graph each point on a polar grid. 1. A( 2, 45 ) 3. Because = 45, locate the terminal side of a 45 angle with the polar axis as its initial side. Because r = 2, plot a point 2 units from the pole in the
More informationDSP Laboratory (EELE 4110) Lab#8 Applications on Texas Instruments DSK TMS320C6711 part2
Islamic University of Gaza Faculty of Engineering Electrical Engineering Department Spring-2012 Eng.Mohammed Elasmer DSP Laboratory (EELE 4110) Lab#8 Applications on Texas Instruments DSK TMS320C6711 part2
More informationGraphing functions by plotting points. Knowing the values of the sine function for the special angles.
Spaghetti Sine Graphs Summary In this lesson, students use uncooked spaghetti and string to measure heights on the unit circle and create the graph of the y = sin(x). This is a great lesson to help students
More informationMAT 343 Laboratory 4 Plotting and computer animation in MATLAB
MAT 4 Laboratory 4 Plotting and computer animation in MATLAB In this laboratory session we will learn how to. Plot in MATLAB. The geometric properties of special types of matrices (rotations, dilations,
More informationThis module aims to introduce Precalculus high school students to the basic capabilities of Matlab by using functions. Matlab will be used in
This module aims to introduce Precalculus high school students to the basic capabilities of Matlab by using functions. Matlab will be used in subsequent modules to help to teach research related concepts
More informationMATLAB Tutorial Matrices & Vectors MATRICES AND VECTORS
MATRICES AND VECTORS A matrix (m x n) with m rows and n columns, a column vector (m x 1) with m rows and 1 column, and a row vector (1 x m) with 1 row and m columns all can be used in MATLAB. Matrices
More informationMATH STUDENT BOOK. 12th Grade Unit 4
MATH STUDENT BOOK th Grade Unit Unit GRAPHING AND INVERSE FUNCTIONS MATH 0 GRAPHING AND INVERSE FUNCTIONS INTRODUCTION. GRAPHING 5 GRAPHING AND AMPLITUDE 5 PERIOD AND FREQUENCY VERTICAL AND HORIZONTAL
More informationHow do you roll? Fig. 1 - Capstone screen showing graph areas and menus
How do you roll? Purpose: Observe and compare the motion of a cart rolling down hill versus a cart rolling up hill. Develop a mathematical model of the position versus time and velocity versus time for
More informationThree-Dimensional (Surface) Plots
Three-Dimensional (Surface) Plots Creating a Data Array 3-Dimensional plots (surface plots) are often useful for visualizing the behavior of functions and identifying important mathematical/physical features
More informationQuestion 2. fprintf('\nenter elements of Matrix 1\n'); for i=1:m, for j=1:n; A(i,j)=input('Value='); end end
Question 1 To find the sum of first N numbers that are divisible by 5 and not divisible by 5. The user has to accept the value of N from the input device. % Description : Script to find sum of elements
More informationTypes of Edges. Why Edge Detection? Types of Edges. Edge Detection. Gradient. Edge Detection
Why Edge Detection? How can an algorithm extract relevant information from an image that is enables the algorithm to recognize objects? The most important information for the interpretation of an image
More informationTutorials for the User-Friendly EST Software
Tutorials for the User-Friendly EST Software Installing the Program 1) To begin installation, run the setup.exe file. 2) Agree to install the Runtime Compiler for Matlab as it is essential to running the
More informationEEE161 Applied Electromagnetics Laboratory 1
EEE161 Applied Electromagnetics Laboratory 1 Instructor: Dr. Milica Marković Office: Riverside Hall 3028 Email: milica@csus.edu Web:http://gaia.ecs.csus.edu/ milica This laboratory exercise will introduce
More informationA trigonometric ratio is a,
ALGEBRA II Chapter 13 Notes The word trigonometry is derived from the ancient Greek language and means measurement of triangles. Section 13.1 Right-Triangle Trigonometry Objectives: 1. Find the trigonometric
More informationCreates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window.
EE 350L: Signals and Transforms Lab Spring 2007 Lab #1 - Introduction to MATLAB Lab Handout Matlab Software: Matlab will be the analytical tool used in the signals lab. The laboratory has network licenses
More informationECE251DN: Homework #3 Solutions
ECE251DN: Homework #3 Solutions Problem 3.7.2 (a) In this problem, we only have one null constraint. So N 1 j C = V(ψ ) = [e 2 ψ,..., 1,..., e j N 1 2 ψ ] T The weights of the least squares approximation
More informationFDP on Electronic Design Tools - Fundamentals of MATLAB 12/12/2017. A hands-on training session on. Fundamentals of MATLAB
A hands-on training session on Fundamentals of MATLAB in connection with the FDP on Electronic Design Tools @ GCE Kannur 11 th 15 th December 2017 Resource Person : Dr. A. Ranjith Ram Associate Professor,
More informationThe value of f(t) at t = 0 is the first element of the vector and is obtained by
MATLAB Tutorial This tutorial will give an overview of MATLAB commands and functions that you will need in ECE 366. 1. Getting Started: Your first job is to make a directory to save your work in. Unix
More informationClass #15: Experiment Introduction to Matlab
Class #15: Experiment Introduction to Matlab Purpose: The objective of this experiment is to begin to use Matlab in our analysis of signals, circuits, etc. Background: Before doing this experiment, students
More informationELEN E3084: Signals and Systems Lab Lab II: Introduction to Matlab (Part II) and Elementary Signals
ELEN E384: Signals and Systems Lab Lab II: Introduction to Matlab (Part II) and Elementary Signals 1 Introduction In the last lab you learn the basics of MATLAB, and had a brief introduction on how vectors
More informationMULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
Exam Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Convert the angle to decimal degrees and round to the nearest hundredth of a degree. 1)
More informationYou are not expected to transform y = tan(x) or solve problems that involve the tangent function.
In this unit, we will develop the graphs for y = sin(x), y = cos(x), and later y = tan(x), and identify the characteristic features of each. Transformations of y = sin(x) and y = cos(x) are performed and
More informationPERI INSTITUTE OF TECHNOLOGY DEPARTMENT OF ECE TWO DAYS NATIONAL LEVEL WORKSHOP ON COMMUNICATIONS & IMAGE PROCESSING "CIPM 2017" Matlab Fun - 2
Table of Contents PERI INSTITUTE OF TECHNOLOGY DEPARTMENT OF ECE TWO DAYS NATIONAL LEVEL WORKSHOP ON COMMUNICATIONS & IMAGE PROCESSING "CIPM 2017" - 2 What? Matlab can be fun... 1 Plot the Sine Function...
More informationGUI Alternatives. Syntax. Description. MATLAB Function Reference plot. 2-D line plot
MATLAB Function Reference plot 2-D line plot GUI Alternatives Use the Plot Selector to graph selected variables in the Workspace Browser and the Plot Catalog, accessed from the Figure Palette. Directly
More informationClasses 7-8 (4 hours). Graphics in Matlab.
Classes 7-8 (4 hours). Graphics in Matlab. Graphics objects are displayed in a special window that opens with the command figure. At the same time, multiple windows can be opened, each one assigned a number.
More informationBasic MATLAB Intro III
Basic MATLAB Intro III Plotting Here is a short example to carry out: >x=[0:.1:pi] >y1=sin(x); y2=sqrt(x); y3 = sin(x).*sqrt(x) >plot(x,y1); At this point, you should see a graph of sine. (If not, go to
More informationESE 150 Lab 03: Data Compression
LAB 03 In this lab we will do the following: 1. Use the Arduino A2D you built in Lab 1 to capture the following waveforms: square wave, sine wave, and sawtooth wave in the audio frequency range 2. Import
More informationGP265 /EE 355 Homework 8 (Final project 2)
GP265 /EE 355 Homework 8 (Final project 2) March 14, 2018 1. Display interferogram phase 2. Calculate the curved earth fringe pattern and subtract it from the interferogram phase. First I compute the slant
More informationMath-3. Lesson 6-8. Graphs of the sine and cosine functions; and Periodic Behavior
Math-3 Lesson 6-8 Graphs o the sine and cosine unctions; and Periodic Behavior What is a unction? () Function: a rule that matches each input to eactly one output. What is the domain o a unction? Domain:
More informationProf. Manoochehr Shirzaei. RaTlab.asu.edu
RaTlab.asu.edu Introduction To MATLAB Introduction To MATLAB This lecture is an introduction of the basic MATLAB commands. We learn; Functions Procedures for naming and saving the user generated files
More informationMATLAB Lesson I. Chiara Lelli. October 2, Politecnico di Milano
MATLAB Lesson I Chiara Lelli Politecnico di Milano October 2, 2012 MATLAB MATLAB (MATrix LABoratory) is an interactive software system for: scientific computing statistical analysis vector and matrix computations
More information