shifting plot of signal from right to left
조회 수: 86 (최근 30일)
이전 댓글 표시
Hi
I want to shift the peak of the plot that I have shown below to zoro. I would appreciate if any one could help.
Many thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147475/image.jpeg)
댓글 수: 0
답변 (1개)
Lukas Bystricky
2015년 7월 28일
편집: Lukas Bystricky
2015년 7월 28일
Assuming you're plotting x vs. t, instead of
plot(t,x)
try
plot(t - 8, x)
(or something close to 8) to shift your t-axis.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!