how to get coefficients out of scattergram?

1 Ansicht (letzte 30 Tage)
Lucrezia Cester
Lucrezia Cester am 23 Aug. 2020
Bearbeitet: Lucrezia Cester am 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.

Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by