cell to matrix when loading

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 日

0 投票

d1={rand(77,1)};
d1{1}(50)
d2=d1{1}
d2(50)

カテゴリ

ヘルプ センター および File ExchangeResizing and Reshaping Matrices についてさらに検索

質問済み:

2017 年 11 月 21 日

回答済み:

2017 年 11 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by