I can't running curve in matlab
1 次查看(过去 30 天)
显示 更早的评论
I have coding for curve in matlab but when I running that coding doesn't display anything. The command window also blank and doesn't display anything. I want this curve like that
回答(1 个)
Walter Roberson
2023-2-25
x = t.^2/0.02;
y = (t.*(t+0.43))/0.08;
z = (t.*(t+0.47))/0.07;
7 个评论
Walter Roberson
2023-2-26
The default increment of the : operator is 1 . Your second value is less than the first value plus the increment of 1 so the first value is the only one in range.
The : operator does not mean "the entire range of values between the start point and the end point". The : operator is specifically starting at a value, adding an increment to it, adding an increment to that, adding an increment to the previous, and so on until you would exceed the endpoint.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!