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