Equations and systems solver - MATLAB solve
www.mathworks.com › help › symbolicsolve Equations and systems solver collapse all in page Support for character vector or string inputs has been removed. Instead, use syms to declare variables and replace inputs such as solve ('2*x == 1','x') with solve (2*x == 1,x). Syntax S = solve (eqn,var) S = solve (eqn,var,Name,Value) Y = solve (eqns,vars) Y = solve (eqns,vars,Name,Value)