DC/offset value

17 visualizaciones (últimos 30 días)
Ali Rehman
Ali Rehman el 16 de Mzo. de 2021
Respondida: Mathieu NOE el 16 de Mzo. de 2021
hi i have a signal containing two values Voltage and sampliong frequency
how can i remove the dc value from the signal

Respuestas (2)

Star Strider
Star Strider el 16 de Mzo. de 2021
how can i remove the dc value from the signal
Subtract the mean of the signal from the signal:
signal_0 = signal-mean(signal);
That will have a signal with a meazn of 0, removing the D-C (constant) offset..

Mathieu NOE
Mathieu NOE el 16 de Mzo. de 2021
hello - simply by removing the mean value :
signal = signal - mean(signal);

Categorías

Más información sobre Spectral Measurements 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