How to replace numeric coefficients with symbolic coefficients ?

3 views (last 30 days)
syms x y
P=0.4*x+tanh(0.5*y)*7
how can I obtain an equation like this where every numeric coefficient is replaced by a symbolic coefficient ?
P=k1*x+tanh(k2*y)*k3

Answers (0)

Community Treasure Hunt

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

Start Hunting!