$f(x) = x^2 -1$
function [f]=func(x)
f=x^2-1;
end
func(2)
function [z1, z2]=func2(x,y)
z1=x.^2+y.^2;
z2=x+y;
end
[a, b]=func2(2,3)
A = [1, 2]; B = [2, 3];
[a1, b1] = func2(A,B)
phi = @(x) cosh(x/4);
phi(0)
function f = fact(n)
f = prod(1:n);
endfunction
fact(5)