how can i plot these signals

12 vues (au cours des 30 derniers jours)
majid
majid le 22 Juin 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

Réponse acceptée

Dishant Arora
Dishant Arora le 22 Juin 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)

Plus de réponses (0)

Catégories

En savoir plus sur Data Exploration dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by