how can i fix Error using sym/min (line 101)
古いコメントを表示
%the effective depth for shear
de=((Aps.*fps.*dp)+(As.*fy.*ds))/((Aps.*fps)+(As.*fy));
dva=[(de-0.5*a) (0.9*de) (0.72*D)];
dv=min(dva);
Error using sym/min (line 101)
Input arguments must be convertible to floating-point numbers.
採用された回答
その他の回答 (1 件)
Sulaymon Eshkabilov
2021 年 8 月 13 日
0 投票
It looks like one of your intoduced symbolic variables is defined to be class type of "char". Check all symbolic variables using whos to determine their class type.
1 件のコメント
Walter Roberson
2021 年 8 月 13 日
No, that would not lead to this circumstance. In R2018a time frame, you could get the error using
syms x y
min([x,y])
カテゴリ
ヘルプ センター および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!