how to plot sine wave without built in function ?
Show older comments
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 Comments
Adam
on 7 Dec 2015
Obviously you could estimate one, but why would you want to?
Guillaume
on 7 Dec 2015
Probably not the answer you want, but conforms exactly to your request:
sine = @(x) cos(pi/2 - x);
Shaheer Ali
on 8 Dec 2015
Accepted Answer
More Answers (1)
Thomas Alex
on 12 Jan 2020
0 votes
similarly how to plot 2 different sine waves with a phse difference?
Categories
Find more on Programming in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!