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!