MATLAB: How to use the std function for signal ???

Statistics and Machine Learning Toolboxstd ; eeg signal

I have to extract Standard deviantion of multi channel EEG and I dont know how to use the std function can anyone help me please Thanks.

Best Answer

It depends on what you want to achieve:
  • If you want to get the standard deviation over the time and the "multi channel EEG" is recorded as [nTimeStep x nChannel] matrix:
SignalStd = std(Signal, 0, 1);
  • I the standard deviation between the channels is wanted:
SignalStd = std(Signal, 0, 2);
You see: A specific answer requires more specific details in the question.
Related Question