matlab return two variables code example Example: two return variables in matlab function [x, y, z] = function_name(c)