how to get coefficients out of scattergram?

1 次查看(过去 30 天)
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.

回答(0 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by