How to work with fcn block in simulink
4 views (last 30 days)
Show older comments
Arun Badigannavar
on 30 Nov 2012
Commented: luciana lima
on 10 Aug 2015
u=1:1:100,,,,,,,,,,I want caculate sin(u),,,for every value from 1 to 100 with increment of 1,,,How will I do this in simulnik
1 Comment
Azzi Abdelmalek
on 30 Nov 2012
1 is the increment of u, what about the time step size, is it variable? fixed?
Accepted Answer
Azzi Abdelmalek
on 30 Nov 2012
Edited: Azzi Abdelmalek
on 30 Nov 2012
To generate u, use a source repeating sequence stair block, then connect it to sine wave function block from simulink/math operations.
1 Comment
luciana lima
on 10 Aug 2015
Azzi, how can I tune the frequency when I use the source repeating sequence stair?
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!