how to create a half cosine wave

 Accepted Answer

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))

More Answers (0)

Asked:

on 18 Feb 2016

Answered:

on 18 Feb 2016

Community Treasure Hunt

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

Start Hunting!