fonction anonyme matlab

sqr = @(x) x.^2;
Bloody Batfish