pivoting an array into a cell

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 个)

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by