Rank: 4706 based on 21 downloads (last 30 days) and 2 files submitted
photo

Jacob

E-mail
Company/University
Virginia Tech

Personal Profile:

 

Watch this Author's files

 

Files Posted by Jacob View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Sep 2013 write_ascii simple and elegant matlab function to quickly write large matrices to an ascii file. Author: Jacob csvwrite, dlmwrite, ascii, tab delimited, comma separated value, data import 5 1
03 Sep 2013 load_ascii Quickly load offset data from ascii file Author: Jacob csvread, dlmread, ascii, tab delimited, comma separated value, import 16 0
  • 4.0
4.0 | 1 rating
Comments and Ratings on Jacob 's Files View all
Updated File Comment by Comments Rating
07 Sep 2013 write_ascii simple and elegant matlab function to quickly write large matrices to an ascii file. Author: Jacob Jan Simon

Under Matlab 2011b this is 20% faster for your example data:

nCols = size(data, 2);
fid = fopen(filename, 'w');
Fmt = [repmat([Fmt, delimiter], 1, nCols-1), Fmt, char(10)];
fprintf(fid, Fmt, data');
fclose(fid);

The name "format" shadows a built-in function, therefore I'd prefer "Fmt" here.

17 Jun 2013 load_ascii Quickly load offset data from ascii file Author: Jacob Pramod Kulkarni

Contact us