Nonlinear equation returning Empty sym: 0-by-1
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Programming 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!












