How can I create a vector from one specific data in 552 .hea files in Matlab?

1 回表示 (過去 30 日間)
francesca michelli
francesca michelli 2020 年 5 月 20 日
コメント済み: francesca michelli 2020 年 5 月 28 日
Hi everybody,
I have 552 .hea files and in each file i have a data named pH and the respective value.
I need to import this data from every file and then to create a vector with the pH of all the 552 files.
How can I do?
Thank you,
Francesca

回答 (1 件)

Raunak Gupta
Raunak Gupta 2020 年 5 月 28 日
Hi,
This answer mentions about reading the physionet data where the .hea files are explicitly resides. If the application of .hea files is different than that of physionet, I see that these are text files and can be read using fileread and then the content can be seperated as matrix that is mentioned as pH values.
As per the source of these files I think it's mainly used as header file and not data file but even if data is present that can read as text.
  1 件のコメント
francesca michelli
francesca michelli 2020 年 5 月 28 日
Hi, can you help me with the code?
Because I'm not able to crate a cycle to load everything.
I'll attach one .hea file.

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

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by