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

2 ビュー (過去 30 日間)
Sheeja Wilson
Sheeja Wilson 2012 年 8 月 29 日
コメント済み: Bajdar Nour 2018 年 8 月 20 日
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...

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 8 月 29 日
data=load('YourFileName')
% data is a struct variables with multiple fields : f1,f2,....
dlmwrite('New_Name',[data.f1 data.f2 ])
  3 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 8 月 30 日
%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 2018 年 8 月 20 日
What if my .mat contains 3 rows and 50 columns of double array images?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by