sine wave shifted 90 degree
8 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 27 Feb 2019
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.
Answers (1)
Honglei Chen
on 27 Feb 2019
If it's really just a sine wave, you can consider hook it up with a integrator.
HTH
2 Comments
Walter Roberson
on 27 Feb 2019
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.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!