matlab function output multiple variables code example
Example 1: matlab multivariable function handle
f = @(x,y) (x.^2 - y.^2);
Example 2: two return variables in matlab
function [x, y, z] = function_name(c)
f = @(x,y) (x.^2 - y.^2);
function [x, y, z] = function_name(c)