getting mldivide error in a common equation!
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
i dont know what im doing wrong! its a simple equation with no vector and im getting
? ?? Error using ==> mldivide
Matrix dimensions must agree.
Error in ==> eqtest at 4
uo2=( (0.131*(denss-densf)*g*(c2*(yo2/dp)*sin(ang1))*(1+(1.732*tan(ang2))...
the script is
clc
entradas;
yo2=1;
uo2=( (0.131*(denss-densf)*g*(c2*(yo2/dp)*sin(ang1))*(1+(1.732*tan(ang2))...
)*sin(ang1))/(densf*((0.1651*cd)+(0.0982*cl))))^1/2;
0 Commenti
Risposte (1)
Walter Roberson
il 4 Apr 2013
Use ./ instead of /
Caution: N^1/2 means (N^1)/2 which is N/2 . If you want to take the square root use N^(1/2), or better yet use sqrt(N)
0 Commenti
Vedere anche
Categorie
Scopri di più su Numerical Integration and Differential Equations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!