Repeating Half-range Cosine Function every pi?
6 次查看(过去 30 天)
显示 更早的评论
Hello,
I want to plot half-range periodic cosine function of period (2*pi) between that repeats itself every (pi) from(-3*pi to 3*pi) with no connection between any sample. Any ideas?
Regards,
回答(2 个)
Jan
2013-7-12
How can a function be 1. between 0 and pi and 2. repeat from -3*pi to 3*pi?
I assume all you need is x=linspace..., y=cos... and plot(x, y, '.'). Therefore I suggest to try it by your own at first and ask a specific question if it does not work.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Performance and Memory 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!