generate points between the two point of with a constant increment?

4 vues (au cours des 30 derniers jours)
Josh Hwa
Josh Hwa le 11 Avr 2019
Commenté : John D'Errico le 15 Avr 2019
Can it be done by using looping??
  1 commentaire
John D'Errico
John D'Errico le 15 Avr 2019
Of course it CAN be done using a loop. But why, unless this is your homework assignment, would you want to do so with a loop? And if it is your homework assignment, then why should we do your homework for you?

Connectez-vous pour commenter.

Réponses (1)

jahanzaib ahmad
jahanzaib ahmad le 11 Avr 2019
x=linspace(0,1,5);
plot(x,x,'.').

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by