Nonlinear equation returning Empty sym: 0-by-1
Mostrar comentarios más antiguos
syms B R
eqn1 = B/Jeq + R/La == 183.9;
eqn2 = (Ka*Ke + R*B)/(Jeq*La) == 4505;
eqn3 = B > 0;
eqn4 = R > 0;
[B1,R1] = solve([eqn1,eqn2,eqn3,eqn4],[B,R])
%Then it returns:
%B1 =
%Empty sum: 0-by-1
%R1 =
%Empty sum: 0-by-1
Edit: My equations are unable to be solved with those constraints because my initial equations are wrong. However, with Walter Roberson's solutions in this thread, I would now be able to solve it otherwise.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Programming 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!













