how can I plot 800 samples in a percentage cicle from 0 to 100% on x axis?

1 次查看(过去 30 天)
  5 个评论
VBBV
VBBV 2020-9-23
编辑:VBBV 2020-9-24
%if true
% code
% end
S = 0:770; % change it acc to length of y data
Sp = S/770; % x data
Y = [...];% y data
plot(Sp*100,Y);
Adam Danz
Adam Danz 2020-9-24
编辑:Adam Danz 2020-9-24
The x axis in the image you shared is far from circular (see polaraxes). The x axis is linear from 0 to 100.
I'm lost.

请先登录,再进行评论。

采纳的回答

Adam Danz
Adam Danz 2020-9-24
编辑:Adam Danz 2020-9-24
If you wanted to normalize the X values (Sp) so that they span from 0 to 100,
SpNorm = (Sp-min(Sp))./range(Sp)*100;
plot(SpNorm, Y)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Polar Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by