numbers = [1 2 3 4 5];
% @name_of_existing_function
arrayfun(@sqrt, numbers)
% anonymous function
arrayfun(@(n) n*n, numbers)