How to load and plot this ecg .mat file

28 ビュー (過去 30 日間)
Premrudee Rujirachartkul
Premrudee Rujirachartkul 2023 年 7 月 27 日
回答済み: Shushant 2023 年 8 月 8 日
Hello there,
I'm having trouble plotting this .mat file, it doesn't work like the one I downloaded from MIT-BIH physionet database.
Sampling frequency = 400Hz
I appreciate all the answers to this problem. Also, I'm trying to apply the waveform segmentation using deep learning to the database that I have but it seems like it just doesn't work. the.mat file that I have seems to be incompatible to the code given in
Cheers,
Prem.
  2 件のコメント
Star Strider
Star Strider 2023 年 7 月 27 日
Upload it here. Use the ‘paperclip’ icon and follow the instructions.
Premrudee Rujirachartkul
Premrudee Rujirachartkul 2023 年 7 月 27 日
編集済み: Premrudee Rujirachartkul 2023 年 7 月 27 日
Hello there,
Thank you so much for your reply. For update, I solved the problem and now got the plot of the ECG.
Now left with the deep learning part. I haven't figure out the code that works for deep learning one because it always give me the error notice. So I only copy the first part from the article and tried to add path to the file. But it didn't work as well. I'm very new to Matlab.
I tried to attach using the paperclip icon but It said I reached limit, so here I'm attaching the google drive link
Cheers,
Prem.

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

回答 (1 件)

Shushant
Shushant 2023 年 8 月 8 日
Hi Premrudee Rujirachartkul,
I understand that you are trying to train a deep learning model but are facing various errors due to the incompatibility of datasets. The error is because the dataset used in the example has data in the form of 2x1 cell array with the second cell being a "table". The dataset you are using is a 5x1 cell array, and doesn’t contain a “table”, or “categorical vector” or a “matrix” of logical sequences.
To solve this issue, you can preprocess your data so that it aligns with the dataset being used in the example. To achieve this, divide the ECG signal into the beat morphologies and label them accordingly, then add them as a table to your dataset.
If you have a specific goal in mind that differs from the provided example and you wish to utilize deep learning, I recommend going through the Deep Learning Onramp. This resource will provide you with valuable insights on effectively utilizing the Deep Learning toolbox according to your specific requirements. Refer to the following link for the same -
I hope this provides you with the required information regarding your query.
Thank you,
Shushant

カテゴリ

Help Center および File ExchangeECG / EKG についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by