getting mldivide error in a common equation!
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Walter Roberson
2013 年 4 月 4 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Numerical Integration and Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!