% this is M-file f01.m
% Define 3 anonymous functions
f = @(x)   (x*x);
ff= @(x,y) (x+y);
fg= @(x,y) (x .* y);

%%  f(3)
%%  a=4;
%%  f(a)
%   b = [1 2 3 4]
%   f(b)   ?
%   fg(b)  ?
%   fg(b,c)
%   c = [10 20 10 20]
%   ff(b,c)
%   fg(b,c)
