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

Respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Preguntada:

el 10 de En. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by