why are the scalogram coefficients given in a table rather than matrix?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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!
0 commentaires
Réponses (1)
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!
0 commentaires
Voir également
Catégories
En savoir plus sur Multirate Signal Processing 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!