ASSIGNMENT: 2 TITLE: SIMULATION OF SIGNALS USING MATLAB. 1. Generate a sinusoidal sequence with 1 period. Use the function sin(0.1*pi*n).
Generate an exponential sequence (0.8)^n. Add two sinusoidal sequences sin(0.1*pi*n) and sin(0.2*pi*n). Generate a unit step sequence with n sample. Use subplot to plot all the sequences. 2. Write a program to generate a unit step sequence of length 20. Modify the program to generate a delayed and advance unit step sequence of [U0(n+6), U0 (n-9)]. 3. Generate a unit impulse sequence U0(n+4) and U0(n-3). 4. Generate a unit impulse and unit step with arbitrary shift. 5. Take a sequence and perform folding and shifting operation on it .Use SUBPOLT command to plot the normal order , folded order and shifted order.