Function cell2mat convert cell array to zeros matrix

I have 100x42 cell array with numeric values. When I used cell2mat function ,I got zeros matrix.
Thank you.

댓글 수: 2

Are you sure there is no "factor" before the line Columns 1 through 9 that is used to multiply against each element in the matrix. Something like
A =
1.0e+05 *
Columns 1 through 9
0.9074 0.7675 0.9345 1.1770 0.9021 0.1459 0.3004
Each of the above is NOT less than one, but is that number multiplied by 100000.
Your screenshot doesn't show a zeros matrix. There are numbers in there too, just not many of them so it's impossible to say much without seeing what the cell matrix itself looks like.

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

답변 (0개)

카테고리

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

질문:

2014년 9월 11일

댓글:

2014년 9월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by