How to recover the original signal from a noisy signal?

조회 수: 25 (최근 30일)
Afaq Ahmad
Afaq Ahmad 2021년 1월 14일
댓글: SAHIL 2024년 9월 12일
I am trying to recover the original signal as shown in (3,1,1). I have represented the signal using 10 discrete numerical values in (3,1,2). After adding some noise using randn(), I have received the "noisy" signal in (3,1,3). Now, I want to retrieve the original data (3,1,1) from the noisy signal. I am confused here on how to implement the logic.
The same concept goes for the (3,1,2) as well. The only difference is the noise (randn()) function. I don't know to get the (3,1,1) from either (3,1,2) or (3,1,3).
The code I've written:

채택된 답변

Jon
Jon 2021년 1월 14일
편집: Jon 2021년 1월 14일
You need to low pass filter the data and then downsample it.
If you have the Signal Processing Toolbox you can do these together using the decimate function.
Otherwise you need to first low pass filter your data (at least in the case where the data is noisy) and then downsample it.
The downsampling part, can be done without the Signal Processing Toolbox simply by indexing. So for example for a vector x to select every 10th value
idx = 1:10:numel(x)
xds = x(idx)
or more compactly
xds = x(1:10:numel(x))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

제품


릴리스

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by