parse error message. "Parse error at '<='. usage might be invalid syntax"
이전 댓글 표시
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.
답변 (1개)
Fangjun Jiang
2020년 3월 23일
0 개 추천
Looks like it needs to be "while i<=3"
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!