How to convert a signal in .mat form to .dat form?

1 vue (au cours des 30 derniers jours)
Sheeja Wilson
Sheeja Wilson le 29 Août 2012
Commenté : Bajdar Nour le 20 Août 2018
Iam doing my project in ecg beat classification and I have downloaded the signal from physionet. The signal obtained is in .mat form but to do fuzzy clustering i have to convert it to .dat file. So plzz help...

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 29 Août 2012
data=load('YourFileName')
% data is a struct variables with multiple fields : f1,f2,....
dlmwrite('New_Name',[data.f1 data.f2 ])
  3 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 30 Août 2012
%if YourFileName.mat file contains variables x,y and z for ;example then
data=load('YourFileName')
% data is a struct variable with fields x,y and z . to acces them:
x=data.x
y=data.y
z=data.z
Bajdar Nour
Bajdar Nour le 20 Août 2018
What if my .mat contains 3 rows and 50 columns of double array images?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Fuzzy Logic Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by