Having a function handle sometimes means that you want to be flexible regarding the number of input arguments. having a function handle fhandle=@plot means that you can call fhandle() but is you want to pass a variable number of arguments to fhandle that resides in a cell array, cparameters, containing e.g.: cparameters={[1:10],’resize’,’no’} you can do: […]
Tags: cellarray, function handle, matlab, varargin