How can I plot a histogram using data from a specific row and column from several files?

1 回表示 (過去 30 日間)
RC
RC 2018 年 3 月 4 日
コメント済み: Bob Thompson 2018 年 3 月 5 日
Hi,
I would like to plot a histogram using selective rows & columns within matrices from several .m files, i.e.: from subj1.m to subj100.m, plotting a histogram using the value in subj(30,50) - row 30, col 50. What is the best way to do so?
Thanks!
  1 件のコメント
Bob Thompson
Bob Thompson 2018 年 3 月 5 日
I would suggest a for loop to look through each file. Somebody else might have a different way, but basically call all the files into a structure or cell array, and then open and read each file and record the data into a separate matrix.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by