I. System identification
Note: In matlab, delay a signal with N elements by one: ;
by two:
by three:
...
For a system as follows:
1.1) Let , find y1;
[
Example of Code:
x1 = [1,2,3,4,5,0,0,0,0,0];
x1_delay3 =[0,0,0,1,2,3,4,5,0,0] ;
y1=2*x1 + 3*x1_delay3;
% For the rest questions, you will program similar code to find out the outputs because the system function is same.
]
1.2) Let , find y2;
1.3) Let , find y3;
1.4) Comparing with y3;
2.1) Let , find y4;
2.2) Comparing with y4;
3.1) Let equals to x1 delay by 3, find y5;
3.2) Comparing y1 delay by 3 with y5
According to the above operations, a) is the system a linear system? b) is the system a time-invariant system?
For a system as follows: , repeat the same operations and answer the following questions: a) is the system a linear system? b) is the system a time-invariant system?
For a system as follows: , repeat the same operations and answer the following questions: a) is the system a linear system? b) is the system a time-invariant system?
II. Delta function and sampling
In matlab, a delta function can be expressed as:
For where , use delta function to sample out the values of : , , , , , , and .
After you finish lab, please upload one file, which includes all codes and question answers to moodle