i have 70103x1 cell array but i want to convert this to matrix i want every array open one row. briefly i want to convert this for example 70103x90 how can i do that?

댓글 수: 1

Does each cell contain 1x90 array? If so, cell2mat function works, as:
% 2x1 Sample cell array
C = {rand(1,90),rand(1,90)};
% cell2mat will convert it into 2x90 array
X = cell2mat(C);

댓글을 달려면 로그인하십시오.

 채택된 답변

madhan ravi
madhan ravi 2018년 12월 29일

2 개 추천

[yourcellarray{:}]

댓글 수: 2

madhan ravi
madhan ravi 2018년 12월 29일
Cem SARIKAYA's answer moved here for consistency:
thank you this is exactly what i want
madhan ravi
madhan ravi 2018년 12월 29일
Anytime :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Cell Arrays에 대해 자세히 알아보기

질문:

2018년 12월 28일

댓글:

2018년 12월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by