how to get coefficients out of scattergram?

2 views (last 30 days)
Lucrezia Cester
Lucrezia Cester on 23 Aug 2020
Edited: Lucrezia Cester on 23 Aug 2020
Hello,
I have input a 1d signal on amplitude versus time of an ECG signal as y in the below code
Fs = 12000;
sf = waveletScattering('SignalLength',numel(y),...
'SamplingFrequency',Fs);
[S,U] = scatteringTransform(sf,y);
scattergram(sf,U,'FilterBank',1)
I get out a very nice scattergram that shows frequencies versus time
however, I am not sure how to get out a 1d vector out of this scattergram so that I am back having a sgnal of amplitude versus time.
Anyone knows?
SOLVED:
The info I am looking for is in U{1, 1}.coefficients{1,1}
Thanks in advance.

Answers (0)

Community Treasure Hunt

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

Start Hunting!