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

4 views (last 30 days)
Can it be done by using looping??
  1 Comment
John D'Errico
John D'Errico on 15 Apr 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?

Sign in to comment.

Answers (1)

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

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!