"matrix dimesion must agree" error (simple equation)
Ältere Kommentare anzeigen
When i try to run this i got an error like "Error using / Matrix dimensions must agree.
Error in Untitled2 (line 2)
M=3/s"
s=0.01:0.01:0.99;
M=3/s
plot(M,s)
end
Why am i getting this error?
Antworten (1)
Abdurrehman
am 19 Mär. 2017
0 Stimmen
Instead of / You should use ./ for matrix division
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!