How can I convert a sine wave into a square wave using Simulink?
47 ビュー (過去 30 日間)
古いコメントを表示
I am using Simulink and I want to convert a sine wave into a square wave.
採用された回答
MathWorks Support Team
2009 年 6 月 27 日
To convert a sine wave into square wave using Simulink, you can use the 'Sign' block within 'Math Operations' Library.
Another way is by implementing the following equation in Simulink:-
y = sin(t) + sin(3*t)/3 + sin(5*t)/5 + sin(7*t)/7 + sin(9*t)/9
The model describing the equation can be viewed in the attachment.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Event Functions についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!