필터 지우기
필터 지우기

how to submit an index to matrix

조회 수: 1 (최근 30일)
Abdulaziz
Abdulaziz 2013년 3월 18일
Hi guys;
I have a big matrix Mo size of (8*15) i want to but every array in separate matrix. some arrays have zeros elements which will be excluded.
I have a problem with giving index to the small matrices .if i use next expression in lob
Moo{i}=Mo(1,1:6)
the matrix Moo{i} is one array matrix
the next error will occur
Cell contents assignment to a non-cell array object.
please any suggestions

답변 (1개)

Walter Roberson
Walter Roberson 2013년 3월 18일
At the time you did the assignment, you already had a variable "Moo" defined as something other than a cell array.

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by