why does this short for loop crash?

3 次查看(过去 30 天)
ddd ppp
ddd ppp 2018-4-21
评论: ddd ppp 2018-4-21
for i=1:33, matlab crashes. This loop might crash too. Is there a simple error here?
tlist=0
dt =.1
for i=1:5
tlist=[tlist,tlist+dt];
end

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by