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에 대해 자세히 알아보기

질문:

2014년 1월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by