how can i plot these signals

8 views (last 30 days)
majid
majid on 22 Jun 2013
hi everybody . i have an image of signal but i want to create it myself for inserting in an article . can anyone help me how can i create it ? sorry for my bad English . any help would be appreciated. http://com-edu.persiangig.com/Capture.PNG

Accepted Answer

Dishant Arora
Dishant Arora on 22 Jun 2013
a)
t=0:.001:1;
f=f(0)+k*t; // f(0)=initial frequency and K some arbitrary constant
y=sin(2*pi*f.*t);
plot(t,y)
b)
t=0:.00001:1;
A=k*sin(2*pi*t);
y=A.*sin(2*pi*100*t);
plot(t,y)

More Answers (0)

Categories

Find more on Data Exploration in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!