How to load and plot this ecg .mat file
31 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Shushant
on 8 Aug 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
0 Comments
See Also
Categories
Find more on ECG / EKG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!