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.
댓글 수: 2
추가 답변 (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!