load
============
matrix = load('engine.train');
textscan
==========================
fd = fopen('magic04.data','r');
raw_data = textscan(fd,'%f %f %f %f %f %f %f %f %f %f %c','delimiter',',');
data = [raw_data{1:10}];
class = raw_data{11};
saving
=============
dlmwrite('engine.train',[trainFeatureIn trainFeatureOut] , '\t');
============
matrix = load('engine.train');
textscan
==========================
fd = fopen('magic04.data','r');
raw_data = textscan(fd,'%f %f %f %f %f %f %f %f %f %f %c','delimiter',',');
data = [raw_data{1:10}];
class = raw_data{11};
saving
=============
dlmwrite('engine.train',[trainFeatureIn trainFeatureOut] , '\t');
Comments
Post a Comment