sine wave shifted 90 degree
6 次查看(过去 30 天)
显示 更早的评论
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
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.
回答(1 个)
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
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!