shifting plot of signal from right to left
101 ビュー (過去 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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!