substiton of a variable in a equation

1 view (last 30 days)
syms x
y=input("Enter the equation in terms of x:")
now how do i substitute x1 in the equation to get y
lets say equation is => -0.6*x^2+2.4*x+5.5

Accepted Answer

madhan ravi
madhan ravi on 8 Nov 2020
 subs(equation, x, x1)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by