how to plot sine wave without built in function ?
显示 更早的评论
Hi.. um i wanted to ask a small question .. um a beginner in Matlab so .. i wanted to know if there's a way to create a sine wave without the sine function .. ? waiting for your reply
3 个评论
Adam
2015-12-7
Obviously you could estimate one, but why would you want to?
Guillaume
2015-12-7
Probably not the answer you want, but conforms exactly to your request:
sine = @(x) cos(pi/2 - x);
Shaheer Ali
2015-12-8
采纳的回答
更多回答(1 个)
Thomas Alex
2020-1-12
0 个投票
similarly how to plot 2 different sine waves with a phse difference?
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!