Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
afef
afef el 15 de Mzo. de 2017
Comentada: Jan el 15 de Mzo. de 2017
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.

Respuesta aceptada

Jan
Jan el 15 de Mzo. de 2017
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.
  3 comentarios
afef
afef el 15 de Mzo. de 2017
please I want to ask you how can i use the function MEAN for my signal i dont know how to write the code.
Jan
Jan el 15 de Mzo. de 2017
Did you read doc mean already? It is equivalent to the std command, but without the 2nd input:
SignalMean = mean(Signal, 1);
SignalMean = mean(Signal, 2);

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre EEG/MEG/ECoG en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by