Muscle detection with inverse filtering Artifacts are indicated with NaN's. [INI,S,E] = detectmuscle(S [,iter]) iter number of iterations [default:1] INI.MU mean of S INI.InvFilter coefficients of inverse filter S outlier replaced by NaN E innan(E) indicates muscle artifact