How to convert a signal in .mat form to .dat form?
4 views (last 30 days)
Show older comments
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...
0 Comments
Answers (1)
Azzi Abdelmalek
on 29 Aug 2012
data=load('YourFileName')
% data is a struct variables with multiple fields : f1,f2,....
dlmwrite('New_Name',[data.f1 data.f2 ])
3 Comments
Azzi Abdelmalek
on 30 Aug 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
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!