フィルターのクリア

How to access array within array?

4 ビュー (過去 30 日間)
Nagarajan sivathanu
Nagarajan sivathanu 2012 年 2 月 6 日
Hi, I stored 3 1D arrays within an array.
Q={[11121 5185 8014 11378 4888 4210];[4115 4728 5386 12746 5301 5738];[2442 1188 1212 2648 1862 1948]};
Here I donot know how to access a particular value say 5185.
Waiting for ur positive replies.

採用された回答

Andrei Bobrov
Andrei Bobrov 2012 年 2 月 6 日
out = Q{1}(2)
for your case from eg:
Qdbl = cat(1,Q{:})
out = Qdbl(1,2)
  1 件のコメント
Nagarajan sivathanu
Nagarajan sivathanu 2012 年 2 月 6 日
thanks for your timely response.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by