Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to draw multicomponent signal in MATLAB?

Status
Not open for further replies.

W_Heisenberg

Full Member level 4
Full Member level 4
Joined
Feb 27, 2011
Messages
217
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Location
Boston
Visit site
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);
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top