How to plot a sinus uniformly?
Afficher commentaires plus anciens

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 commentaire
Jos (10584)
le 5 Fév 2018
Define "equivalent distance". 2D?
Réponses (1)
Nikolay Konstantinov
le 5 Fév 2018
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!