function data_minus_mean = subtract_mean( data ) % % function data_minus_mean = subtract_mean( data ) % % compute the mean of the input data, then subtract the mean and return the % result. % This is not a particularly useful function. It will be used to % demonstrate use of the MATLAB debugger. % data_mean = mean(data); data_minus_mean = data - data_mean;