Effacer les filtres
Effacer les filtres

How to load and plot this ecg .mat file

27 vues (au cours des 30 derniers jours)
Premrudee Rujirachartkul
Premrudee Rujirachartkul le 27 Juil 2023
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 commentaires
Star Strider
Star Strider le 27 Juil 2023
Upload it here. Use the ‘paperclip’ icon and follow the instructions.
Premrudee Rujirachartkul
Premrudee Rujirachartkul le 27 Juil 2023
Modifié(e) : Premrudee Rujirachartkul le 27 Juil 2023
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.

Connectez-vous pour commenter.

Réponses (1)

Shushant
Shushant le 8 Août 2023
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

Catégories

En savoir plus sur ECG / EKG dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by