How to extract a certain value from 3-dimensional array?

1 回表示 (過去 30 日間)
sam moor
sam moor 2017 年 4 月 21 日
コメント済み: sam moor 2017 年 4 月 22 日
I have 3-dimensional array named as bfrag.mat file. In bfrag.mat file I have 2x16x16 frag file and Int_m file associated with frag array(i.e. each frag file column is associated with Int_m file column and so on). I want to extract a number (say greater than 10%) from frag file and corresponding value from Int_m file and record in a new matrix form (because I need do for several .mat file in for loop). Any idea is appreciated.Thank you.
  3 件のコメント
sam moor
sam moor 2017 年 4 月 21 日
when you open above bfrag.mat file you will see frag and Int_m array file. frag is 2x16x16 array and Int_m is 1x16 array. Each column of frag array corresponds to column of Int_m array. Now I want to check each column number(both row) in frag array that exceeds 10% (i.e. 0.1) and whichever the column passes the number(0.1), that column value(single value from both rows) and corresponding Int_m column value is stored in new matrix. Hope this explain your concern.
sam moor
sam moor 2017 年 4 月 22 日
Any idea James

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

回答 (1 件)

sam moor
sam moor 2017 年 4 月 22 日
Anyone have idea dealing with 3 dimensional array.

カテゴリ

Help Center および File ExchangeJust for fun についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by