DC/offset value

24 ビュー (過去 30 日間)
Ali Rehman
Ali Rehman 2021 年 3 月 16 日
回答済み: Mathieu NOE 2021 年 3 月 16 日
hi i have a signal containing two values Voltage and sampliong frequency
how can i remove the dc value from the signal

回答 (2 件)

Star Strider
Star Strider 2021 年 3 月 16 日
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 2021 年 3 月 16 日
hello - simply by removing the mean value :
signal = signal - mean(signal);

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by