sine wave shifted 90 degree

12 次查看(过去 30 天)
Saif Zahran
Saif Zahran 2019-2-27
Dear all,
i have sine wave with amplitude and frequency, and i want to shiftted by 90 degree to get the value of Beta. can anyone help me to do this.
i want the output to look as the above figure using single sine wave.
Thanks
  3 个评论
Walter Roberson
Walter Roberson 2019-2-27
If it were discrete then you could have worked with methods such as memory blocks, but since it is continuous you cannot, so I recommend the approach I described earlier, of adding a phase before you take the sine.
Rena Berman
Rena Berman 2019-3-5
(Answers Dev) Restored edit

请先登录,再进行评论。

回答(1 个)

Honglei Chen
Honglei Chen 2019-2-27
If it's really just a sine wave, you can consider hook it up with a integrator.
HTH
  2 个评论
Walter Roberson
Walter Roberson 2019-2-27
Be careful with the initial condition. You cannot just compute it based upon the initial sin() result, as just looking at the sin() output does not tell you where you are in the cycle.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by