how can i fix Error using sym/min (line 101)
Mostrar comentarios más antiguos
%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 comentario
metasebia dabi
el 13 de Ag. de 2021
Respuesta aceptada
Más respuestas (1)
Sulaymon Eshkabilov
el 13 de Ag. de 2021
0 votos
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 comentario
Walter Roberson
el 13 de Ag. de 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])
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!