1. Write a MATLAB program to generate and plot the signal
x1(n) = [3 2 -2 0 7], n = 0,1,2,3,4.
2. Write a MATLAB program to generate and plot the signal
x2(n): a ramp of length 64 with min value 0 and max value 1.
3. Write a MATLAB program to generate and plot the signal
x3(n): a triangular waveform of length 64, period 16, minimum value 0, and maximum value 1.
4. Write a MATLAB program to generate and save the following signal in file x4.wav. Plot a section of the generated signal.
x4(n) = 0.2sin(2?fnT), n = 0, 1,...1023
where, f = 1000Hz, and T = 1/8192 sec.
5. Write a MATLAB program to generate and plot the signal
x5(n) = 0.2sin(2?fnT) + 0.1w(n), n = 0, 1,...127
where w(n) is Gaussian noise with zero mean and unit variance,
f = 1000Hz, and T = 1/8192 sec.
6. Write a MATLAB program to generate and plot the signal
x6(n) = [1+.7xm(n)]xc(n), n = 0,1,2....127
where, xm(n) = sin(.0628n), and xc(n) = sin(.628n)
7. Write a MATLAB program to generate and plot the signal
x7(n) = xm(n)xc(n), n = 0,1,....127
where, xm(n) = sin(.0628n), and xc(n) = sin(.628n)