varprompt='Enter Variable (space-separated):';var=inputdlg(varprompt);syms(sym(string(var)));eqprompt='Enter Equation (from highest to lowest degree):';equation=inputdlg(eqprompt);k=diff(equation)
I dont know what to do. How do you make the program solve the equation? Im having trouble turning the var input to a symbolic variable so that i can use it to solve the equation.
Best Answer