フィルターのクリア

Convert a multiple channel raw ECG to readable .mat format

12 ビュー (過去 30 日間)
Ngoc
Ngoc 2023 年 11 月 24 日
回答済み: Ganesh 2023 年 12 月 5 日
Hi,
I have this raw holter ecg in .dat format (see attached file). The timestamp is in column A; Lead I-III-II and V in column D-E-F-G. I'd want to convert/save them exactly like this image below in .mat for each lead:
I have tried to import data and save it under .mat but can not extract the timestamp. What I get is only a column with no meaning.

回答 (1 件)

Ganesh
Ganesh 2023 年 12 月 5 日
Hi Ngoc ,
I understand that you have been trying to import the file with multiple columns and then save to a .mat file. In your screenshot, we can see that the data variable has only 1 row of entry. This would be due to an incorrect import of “.dat” files. Kindly refer to the following answer on importing “.dat” files correctly into MATLAB:
Once the data has been imported in the right format, you can use the “save()” function to save the variable to a “.mat” file. Please refer to the documentation below:

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by