why are the scalogram coefficients given in a table rather than matrix?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Suraj Kumar
el 3 de Abr. de 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 comentarios
Ver también
Categorías
Más información sobre Continuous Wavelet Transforms en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!