How to extract value from matrix in a cell array?

A=[1 3 5;3 9 2;11 8 2];
B=[1 2 3 4 5]
C=[6 7 8 9]
cell={A,B,C}
How would I extract 5 from A inside the call array? I understand that I can extract A as a whole with cell{1}, but I don't know how to go any further than that.

1 件のコメント

Xuan He
Xuan He 2021 年 6 月 16 日
NVM I figured it out I did it with cell{1}(1,3)

サインインしてコメントする。

 採用された回答

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

製品

リリース

R2021a

タグ

質問済み:

2021 年 6 月 16 日

回答済み:

2021 年 6 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by