how to draw multicomponent signal in MATLAB?

Status
Not open for further replies.

W_Heisenberg

Full Member level 4
Joined
Feb 27, 2011
Messages
217
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Location
Boston
Activity points
2,575
For example,
t = 0:0.01:1;
y = cos(200*pi*t-20*t^2)+cos(4*pi*sin(5*pi*t)+80*pi*t);


then how to draw y?
 

plot(t,y);

But first, You have to use an array power (.^), because t isn't a matrix.

y = cos(200*pi*t-20*t.^2)+cos(4*pi*sin(5*pi*t)+80*pi*t);
 
Why you call this signal multicomponent?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…