Problems to compute a phase shift using sinusoidal functions
이전 댓글 표시
I am having problems trying to compute a phase shift using sinusoidal functions. For example I am trying to achieve this:

I can compute this giving it a vertical transition, but no matter where I add its incorrect when plotted along side the above equation without the phase shift.
This is without the attempted phase shift:
y = 3*sin(x*(2*pi/4))+2;
x = [0:0.1:100];
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Audio Processing Algorithm Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!