Explore BrainMass

Plotting through matlab

Consider a finite-support signal
x(t) = t 0<=t<=1
and zero elsewhere.

- Using Matlab, plot x(t+1)
- Using Matlab, plot x(-t+1)
- Add the above two signals together and plot the new signal y(t).

Solution Summary

Using a function, another function with some offset is created,and such two functions with different offsets are added together to form a new function. All these functions are plotted in Matlab.