How can I mat2cell the array?
Show older comments
Suppose I have this:
v= {1 8 1 1 6 1 2 5 3 2 7 11 7 9 10 9};
How can I mat them as below? ( with array start and end as same number)
v= { [1 8 1] [1 6 1] [2 5 3 2] [7 11 7] [9 10 9] };
Accepted Answer
More Answers (1)
Categories
Find more on Data Types 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!