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

6 次查看(过去 30 天)
Can it be done by using looping??
  1 个评论
John D'Errico
John D'Errico 2019-4-15
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?

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by