How to generate sine wave in Simulink by using the MATLAB function?
3 次查看(过去 30 天)
显示 更早的评论
I want to generate sine wave in Simulink by using the MATLAB function. I could not get the actual sinewave. And could not find the problem also, Please see the picture attached below to get a clear picture of my problem. And the code I used for MATLAB function works fine in MATLAB.
0 个评论
采纳的回答
Orion
2014-12-9
You could just use the sine wave block ?
If you really want to use a matlab function, you need to do :
here, the Matlab function generates the exact same sine as the sine wave block.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!