how to create a half cosine wave
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
s=cos(t) for -pi/2 to pi/2 else 0
0 commentaires
Réponse acceptée
Moe_2015
le 18 Fév 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 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!