Feeds
提问
How would I rewrite this loop to work?
I want this loop to plot three curves for T = 0,1 and 2. I keep getting error messages. T = 0; X2 = [0:0.1:2]; Y2 = [0:0.1:...
6 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
6 years 前 | 1 个回答 | 0