MATLAB: How to express a symbolic variable in function of other symbolic variables,

symbolic variable

hello
is there a predefined function in matlab that can express a symbolic variable depending on other symbolic variables, for example
syms x y z
z=x^2+y^3;
x=f(y,z)=?????????????????
what is a function that allows to write x in terms of y and z
thanks in advance

Best Answer

With newer MATLAB versions, you can use
syms f(y,z)
f(y,z) = x^2+y^3;