필터 지우기
필터 지우기

How to arrange data in cell array

조회 수: 1 (최근 30일)
Muhammad Shaiful Bahri
Muhammad Shaiful Bahri 2019년 11월 18일
답변: Walter Roberson 2019년 11월 19일
I have an assignment to done. Which is i want to arrange this code.
code =
1×30 cell array
Columns 1 through 9
{'A 004'} {'A 011'} {'A 012'} {'A 019'} {'A 020'} {'A 024'} {'A 031'} {'A 032'} {'A 039'}
Columns 10 through 18
{'A 040'} {'A 044'} {'A 048'} {'A 049'} {'A 051'} {'A 052'} {'A 056'} {'A 059'} {'A 060'}
Columns 19 through 27
{'A 064'} {'A 068'} {'A 069'} {'A 071'} {'A 072'} {'A 079'} {'A 080'} {'A 084'} {'A 091'}
Columns 28 through 30
{'A 092'} {'A 099'} {'A 100'}
Into this. dimension (5x6)
{'A 004'} {'A 011'} {'A 012'} {'A 019'} {'A 020'} {'A 024'}
{'A 031'} {'A 032'} {'A 039'} {'A 040'} {'A 044'} {'A 048'}
{'A 049'} {'A 051'} {'A 052'} {'A 056'} {'A 059'} {'A 060'}
{'A 064'} {'A 068'} {'A 069'} {'A 071'} {'A 072'} {'A 079'}
{'A 080'} {'A 084'} {'A 091'} {'A 092'} {'A 099'} {'A 100'}
Is it possible?

채택된 답변

Walter Roberson
Walter Roberson 2019년 11월 19일
reshape(code, 6, []).'

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by