Homework 6 Solution
Q1.
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:
case 1: File:HW6 Q1 Case1
case 2: File:HW6 Q1 Case2
case 3: File:HW6 Q1 Case3
case 4: File:HW6 Q1 Case4
case 5: File:HW6 Q1 Case5
case 6: File:HW6 Q1 Case6
Q2.
Q3.
Q4.
Q5.
Q6.
Q7.