How can I obtain the data output after ECG Noise removal

1 view (last 30 days)
Hello, I am new to MATLAB and working on a project on analysing ECG Signals. I have passed my ECG raw data for noise removal through this code: https://www.mathworks.com/examples/matlab-dsp-system/mw/dsp-ex49143500-removing-high-frequency-noise-from-an-ecg-signal, and can see that the noise has been greatly reduced. May I know how may I obtain the modified value of each point for further processing, please? Thank you.

Answers (1)

Dimitris Iliou
Dimitris Iliou on 27 Jul 2017
If I understand you correctly, you want to know where you can find the new filtered signal.
In the example you used, there are two signals plotted on the scope. The noisySignal and the filteredSignal.
These two represent the before and after filtering values of the signal. If you are interested in the filtered values, you can find them in the filteredSignal variable.
filteredSignal is a 500x1 vector, which means that the signal has 500 points. You can access each point by typing
filteredSignal(index)
where index can be any value between 1 and 500.

Community Treasure Hunt

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

Start Hunting!