150Hz Sine wave in MATLAB simulink
Show older comments
When I feed 150 Hz to a sine wave block with scope settings of 0.04 seconds of time span and 0.00166 as sample time, my output wave looks like a triangle wave rather than a sine wave. How do I make it appear as a sine wave?
Accepted Answer
More Answers (1)
halleyhit
on 25 Jun 2024
1 vote
Hi Manuprabha, please make sure you feed 150*2*pi to the block, because the unit is rad/s. Then, please use a smaller sample time, and you will have a wave more like sine.
1 Comment
Manuprabha Ravikumar
on 25 Jun 2024
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
