Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %M = dlmread('iris.data');
- %M = load('iris.data');
- fid= fopen('iris.data');
- c= textscan(fid,'%f32,%f32,%f32,%f32,%s');
- max = 0;
- min = 0;
- for i=0:150
- if(c{1,1}>max)
- max =c{1,1};
- end
- if(c{1,1}{i,1}<max)
- min =c{1,1}{i,0};
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement