how to create a half cosine wave
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
s=cos(t) for -pi/2 to pi/2 else 0
0 Commenti
Risposta accettata
Moe_2015
il 18 Feb 2016
If you are talking about plotting a half cosine wave you could do something like this:
t=-pi/2:0.0001:pi/2;
plot(t,cos(t))
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!