Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. filename=fopen('heartbeatn1nn.txt');
  2. A = textscan(filename,'%f','HeaderLines',0);
  3. fclose(filename);
  4.  
  5. filename=fopen('heartbeatn1nn.txt');
  6. formatSpec='%f';sizeA=[1 Inf];
  7. A = fscanf(filename,formatSpec,sizeA);
  8. fclose(filename);
  9.  
  10. A = textscan(filename,'%f %s %f');
  11.  
  12. first_col = A{:,1};
  13.  
  14. first_col = cell2mat( textscan(filename, '%f %*s %*f') );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement