how can i fix Error using sym/min (line 101)
Show older comments
%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 Comment
metasebia dabi
on 13 Aug 2021
Accepted Answer
More Answers (1)
Sulaymon Eshkabilov
on 13 Aug 2021
0 votes
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 Comment
Walter Roberson
on 13 Aug 2021
No, that would not lead to this circumstance. In R2018a time frame, you could get the error using
syms x y
min([x,y])
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!