# 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).

https://brainmass.com/engineering/electronic-engineering/plotting-through-matlab-568729

#### 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.

$2.19