how to plot ecg from .mat file
Mostrar comentarios más antiguos
I have downloaded the .mat file from physionet database for mitbih database. I need to plot it and find ecg features. How can I do it?
Respuestas (1)
Dishant Arora
el 22 de Feb. de 2014
you have to load variables from the mat file to your worksapce, then you can plot them or process them:
load matfileName
2 comentarios
Deepa
el 22 de Feb. de 2014
Dishant Arora
el 22 de Feb. de 2014
clear all
worksapce % make sure wirkspace panel is showing
load fullfilename % check out workspace panel for the variables loaded
% It might be vectors containing independent and dependent variables
% or a single matrix having different variables in differenet columns
t = yourArray(:,1) % lets say it's a matrix
x = yourArray(:,2)
plot(t,x)
Categorías
Más información sobre AI for Signals en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!