필터 지우기
필터 지우기

How to load and plot this ecg .mat file

조회 수: 27 (최근 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 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