parse error message. "Parse error at '<='. usage might be invalid syntax"
Ältere Kommentare anzeigen
This code:
i=0;
for i <= 3
[X,Y,t] = meshgrid(0:2,0:2,0:i);
U = X;
V = t.^2;
quiver(X,Y,U,V);
i+1;
end
gives the error message: "Parse error at '<='. usage might be invalid syntax". I don't know why this would be invalid syntax.
Antworten (1)
Fangjun Jiang
am 23 Mär. 2020
0 Stimmen
Looks like it needs to be "while i<=3"
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!