cell to matrix when loading

조회 수: 4 (최근 30일)
jfrazie9
jfrazie9 2017년 11월 21일
답변: Fangjun Jiang 2017년 11월 21일
The matlab file I am trying to load is a '1x1 cell' that opens to a '77x1 double' when loading it how do I skip the cell and go to the matrix immediately?

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2017년 11월 21일
d1={rand(77,1)};
d1{1}(50)
d2=d1{1}
d2(50)

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by