compose(f,g) returns
f(g(y)) where f = f(x) and g =
g(y). Here x is the symbolic variable of f
as defined by symvar and y is the symbolic variable of
g as defined by symvar.
compose(f,g,x,z)
returns f(g(z)) and makes x the independent variable
for f. That is, if f = cos(x/t), then
compose(f,g,x,z) returns cos(g(z)/t) whereas
compose(f,g,t,z) returns cos(x/g(z)).
compose(f,g,x,y,z)
returns f(g(z)) and makes x the independent variable
for f and y the independent variable for
g. For f = cos(x/t) and g =
sin(y/u), compose(f,g,x,y,z) returns
cos(sin(z/u)/t) whereas compose(f,g,x,u,z) returns
cos(sin(y/z)/t).
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.