DocumentationHelp Center
Return body of symbolic function
formula(f)
example
formula(f) returns the body, or definition, of the symbolic function f.
f
collapse all
Return the body, or definition, of a symbolic function by using formula.
formula
syms x y f(x,y) = x + y; formula(f)
ans = x + y
If the symbolic function does not have a definition, formula returns the symbolic function.
syms g(x,y) formula(g)
ans = g(x, y)
Input specified as a symbolic function.
argnames | sym | syms | symvar
argnames
sym
syms
symvar
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office