Given three functions f,g and h, create the composed function y=f(g(h)).
f = @(x) x+1
g = @(x) x/2
h = @(x) x^2
And x1=8; x2=10; x3=1;
y(x1) = 33
y(x2) = 51
y(x3) = 1.5
Back to basics 16 - byte order
Back to basics 21 - Matrix replicating
middleAsColumn: Return all but first and last element as a column vector
Given area find sides
Area of an Isoceles Triangle
Replace values under a limit
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