How do I create a 2-D array with variable size columns?
显示 更早的评论
I'd like to create a 2-D array with variable size columns. I have n Bins each of which has a variable number of entries and each entry is composed of 3800 frequencies.
I know that zeros(n,m,3.8e3) where m is my maximum number of entries can hold all my information but I'd like to do this without having extra arrays.
I was thinking if there was a way to create a variable size structure then I could just create n arrays each with a different size and add them to my structure.
Thanks for any help.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!