If I plot sinus like this
x=0:0.05:2*pi;
y=sin(x);
plot(x,y,'.-')
I'm getting obviously non-uniformly density of points. Please see attachment. What I want is, that points should be at the equivalent distance each other. So, I need to define x array somehow.. or is there is another way?

답변 (1개)

Nikolay Konstantinov
Nikolay Konstantinov 2018년 2월 5일

0 개 추천

It can be done via
y=-1:.05:1;
plot(asin(y),y,'o')

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

2018년 2월 5일

댓글:

2018년 2월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by