why are the scalogram coefficients given in a table rather than matrix?

5 vues (au cours des 30 derniers jours)
Lucrezia Cester
Lucrezia Cester le 14 Nov 2020
Hello,
I am trying to get the scalogram coefficients from U, filterbank 2.
scattergram(sf,U,'FilterBank',2)
The resulting scalogram coefficients are given in a table. I don't know how to use this. I just want the coefficients like when cwt is applied.
How can I get these?
I would like to use a filterbank that allows only slow changing features to get through, hence the need for the filterbank 2.
Thanks!

Réponses (1)

Suraj Kumar
Suraj Kumar le 3 Avr 2025
Hi Lucrezia,
To extract the scalogram coefficients which are stored in table format and convert them into a matrix format, you can use the tables's column indexing.
coeffs = u{:, 'Signal'}; % Extract the 'Signal' column
Now to store the extracted coefficients in a matrix you can concatenete them using the 'cell2mat' function in MATLAB.
You can refer to the following documentation for more information on the 'cell2mat' function in MATLAB:
coeffMatrix = cell2mat(coeffs);
Hope this resolves your issue!

Catégories

En savoir plus sur Continuous Wavelet Transforms dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by