Question: Objectives: To introduce Matlab. To plot waves / signals using Matlab. To explore sine waves and understand their characteristics. To use Fourier analysis in decomposing
Objectives:
To introduce Matlab.
To plot wavessignals using Matlab.
To explore sine waves and understand their characteristics.
To use Fourier analysis in decomposing complex signals.
Instructions:
Take a screen snapshot AltPrnt Scrn of all the commands and graphs that you type in Matlab and paste it under its corresponding step below.
Part I: Matlab Introduction
Matlab stands for Matrix Laboratory. It is a very good tool for manipulating matrices.
In matlab, you create a matrix by typing the following command:
ame element element dots elementN
To create a matrix named myMatrix, for example, with the numbers from zero to five you would type the following command:
myMatrix
a Create a matrix named months with elements to
b You can create matrices more quickly using this command:
ame element:increment:elementN
Using this command a matrix is created whose first element is element and element element increment, element element increment and so on
c Create a matrix called monthsQuick with elements to but using the command in step
d Sampling is reading a value of a signal at specific times. Assume we want to sample a signal every seconds, starting from time zero to time Create a matrix named samplingTimes with the times at which we will sample such a signal.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
