Split data into different arrays of different sizes?
2 views (last 30 days)
Show older comments
Hi I have a huge vector of data and I would like to divide it into different groups according to a particular index so lets say my data is a= (1 2 3 4 5 6 7 8....) and my index is i= (1,2,3,4..) which sum is equal to the size of a. How can I split "a" vector according to the index "i"?
0 Comments
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!