cell to matrix when loading

1 Ansicht (letzte 30 Tage)
jfrazie9
jfrazie9 am 21 Nov. 2017
Beantwortet: Fangjun Jiang am 21 Nov. 2017
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?

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 21 Nov. 2017
d1={rand(77,1)};
d1{1}(50)
d2=d1{1}
d2(50)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by