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
Remove any row in which a NaN appears
Omit columns averages from a matrix
Put Two 1D matrices into one 1D matrix
factorial of a number x
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