pivoting an array into a cell
1 view (last 30 days)
Show older comments
i have an array named Inputs = [1 2 3 4 5 6 7 8 9] and i want to seperate this using pivot into cell(1,2) = {[],[]} so the result is cell = {[1 2 3 4 5], [6 7 8 9]} and the input variable just the pivot variable = 2. How can i solve this??? thanks before :)
0 Comments
Answers (0)
See Also
Categories
Find more on Matrices and Arrays 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!