how to get coefficients out of scattergram?

1 view (last 30 days)
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)

Products

Community Treasure Hunt

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

Start Hunting!