Question Help creating a Signal on Matlab

Matlab_Starter

New member
Joined
Dec 3, 2010
Messages
1
Reaction score
0
Points
0
Can anyone help me create on Matlab the following signal:
MATLAB.jpg


Thanx
 
Are you a fellow Electrical Engineer? I never had to make anything that complicated, but I can give it a shot. I will fire up Matlab later. Here is something to try for now.

This will create a square impulse from 0 to 5. You can change it to move it to the locations in your plot.

n = -5 : 1 : 5

y = (n >= 0)

plot(n,y)

As for the triangle wave, I will figure it out later.
 
Back
Top