Line 2: | Line 2: | ||
Q1. | Q1. | ||
+ | |||
+ | Matlab code: | ||
[[Image:MCode_HW6_Q1.jpg]] | [[Image:MCode_HW6_Q1.jpg]] |
Revision as of 02:02, 19 October 2010
Homework 6 Solution
Q1.
Matlab code:
Assign the value of parameters and then call the function signalDFT
For example, in case 6 type following command in the command window of Matlab:
N=20;
w1=0.62831853;
k=0.2;
w2=0.79168135;
[x,X]=signal(w1,w2,k,N);
Plot result:
Q2.
Q3.
Q4.
Q5.
Q6.
Q7.