shifting plot of signal from right to left
156 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Lukas Bystricky
on 28 Jul 2015
Edited: Lukas Bystricky
on 28 Jul 2015
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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!