
How to generate sine wave in Simulink by using the MATLAB function?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sajjad
am 9 Dez. 2014
Kommentiert: Santiago Morocho
am 19 Jan. 2016
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 Kommentare
Akzeptierte Antwort
Orion
am 9 Dez. 2014
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.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!