Help with Sine wave Properties

1 回表示 (過去 30 日間)
Angelica Belo
Angelica Belo 2021 年 9 月 5 日
コメント済み: Angelica Belo 2021 年 9 月 5 日
I've so far simplified my wave to:
(2*cos(3*t + 8352332796509007/9007199254740992))/5
I know how to construct 2cos3*t in simulink however, I'm currently not sure where to put the 8352332796509007/9007199254740992 in the wave properties. I was thinking phase but I had to put pi/2 to make it cos.
Thank you for the help!

採用された回答

Walter Roberson
Walter Roberson 2021 年 9 月 5 日
It sounds as if you are using a Sine block, like Star Strider describes at https://www.mathworks.com/matlabcentral/answers/373195-cos-function-in-simulink#comment_517775
If so, use phase phi/2 plus that constant as the phase.
  1 件のコメント
Angelica Belo
Angelica Belo 2021 年 9 月 5 日
I got it now. Thank you so much! :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by