how to mirror plot "around zero" on x axis
11 次查看(过去 30 天)
显示 更早的评论
I mean if I have frequency axis or time axis [x - axis] = from 0 to 50 for example,
how to plot same axis byt reserved in negative >>>> from -50 to o ?!
0 个评论
采纳的回答
Voss
2022-5-7
t = 0:0.1:50;
y = sin(2*pi*t/10)+0.005*t.*randn(1,numel(t)); % some random signal
plot(t,y) % original signal
hold on
plot(-t,y) % "mirrored" signal
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Floating-Point to Fixed-Point Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!