Skip to main content

calcMeanDifference2D.m


% This function is part of the NMSM Pipeline, see file for full license.
%
% Calculates the second dimension mean difference of an input 2D array.
%
% (2D array of number) -> (2D array of number)
% calculates the cost of differences in EMG groups


function output = calcMeanDifference2D(input)
output = input - mean(input,2);
end