why are the scalogram coefficients given in a table rather than matrix?
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Suraj Kumar
2025-4-3,4:07
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!