How to load and plot this ecg .mat file

32 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 ECG / EKG 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by