필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Using data from cell arrays

조회 수: 2 (최근 30일)
Kash022
Kash022 2016년 4월 13일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello All,
I have a 1x2 cell called All which again contains 1x1024002 values each. I need to manipulate these values together. I am trying the following code but it does not work.
value_PCA(:,:) = All{1,2};
where All is 1x2 cell. I am getting the following error : Conversion to cell from double is not possible. Please let me know how to proceed. Thanks!

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2016년 4월 13일
value_PCA = cat(1,All{:});
  댓글 수: 1
Kash022
Kash022 2016년 4월 13일
yes but it again created a matrix of 1x2 size which internally contains those 1x1024000 values. I need those values directly outside.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by