DC/offset value
17 次查看(过去 30 天)
显示 更早的评论
hi i have a signal containing two values Voltage and sampliong frequency
how can i remove the dc value from the signal
0 个评论
回答(2 个)
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..
0 个评论
Mathieu NOE
2021-3-16
hello - simply by removing the mean value :
signal = signal - mean(signal);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spectral Measurements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!