Cos function in simulink
305 ビュー (過去 30 日間)
古いコメントを表示
Is there any way I could get a cosine wave source in Simulink rather than just a sine wave?
0 件のコメント
回答 (1 件)
Star Strider
2017 年 12 月 15 日
編集済み: Star Strider
2017 年 12 月 15 日
Take the derivative of the sine?
8 件のコメント
Star Strider
2017 年 12 月 19 日
An even easier way to do it is to select the continuous-time Sin block from Sources, then use Block Parameters (Sin) set the Amplitude, Frequency, and then set Phase to pi/2. That defines a Cosine source!
I did this, and verified it with the Scope block that it was indeed producing a cosine curve.
I have not used Simulink in a few years, and it changed in the last few releases. It took me a while to explore it.
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!