why does this short for loop crash?

3 visualizzazioni (ultimi 30 giorni)
ddd ppp
ddd ppp il 21 Apr 2018
Commentato: ddd ppp il 21 Apr 2018
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

Risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by