Simulink generating sine waves
Show older comments

I have this question but my problem is I cant find 3 fundamentally different solutions. This is the one I currently have:
Answers (1)
Raj
on 16 Apr 2019
0 votes
You can use the "Matlab Function" block to write your equation and get the output. That's one way.
2 Comments
madhan ravi
on 16 Apr 2019
Yes that sums up to two different ways wondering what the other way could be.
Raj
on 16 Apr 2019
Not sure whether these would be considered as another way of implementation:
1) Expand sin(0.5t+0.25) as sin(A+B) formula.
2) Modify the equation as sinA-sinB formula where A=0.5t and B=0.5t+0.25
Basically get a new equation and implement that.
Categories
Find more on Simulink Functions 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!