I am passing a cell array of function handles to my function. Typically a user might pass something like-
Now depending upon whether or not the inputs to these functions has any NaN values I want to programmatically change it to -
{@nansum,@nanmedian,@nanmean}
Is there a way to do so?
0 Comments
Sign in to comment.