Commit 146b73337a99e14c93be6fd01e60ce532362c97c

Authored by bmarechal
1 parent 76682e8cb5
Exists in master

save long without truncature

Showing 4 changed files with 4 additions and 4 deletions Side-by-side Diff

... ... @@ -52,7 +52,7 @@
52 52 if arg_save ==1
53 53 filenameout = strcat(strsplit(filename,'.'){1},'-',num2str(col(i)),'.sig')
54 54 datatosave = horzcat(tau', ad', err');
55   - save('-text', filenameout , 'datatosave');
  55 + save('-ascii', '-double', '-tabs', filenameout , 'datatosave');
56 56 end
57 57 end
58 58 legend(leg)
... ... @@ -37,7 +37,7 @@
37 37 if arg_save ==1
38 38 filenameout = strcat(strsplit(filename,'.'){1},'-cov-',num2str(col1),num2str(col2),'.sig')
39 39 datatosave = horzcat(tau', ad', err');
40   - save('-text', filenameout , 'datatosave');
  40 + save('-ascii', '-double', '-tabs', filenameout , 'datatosave');
41 41 end
42 42 end
43 43 legend(leg)
... ... @@ -30,6 +30,6 @@
30 30 for i = [1:length(col)]
31 31 tosave = horzcat(tosave, ad_tosave{i});
32 32 end
33   -save('-text', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave');
  33 +save('-ascii', '-double', '-tabs', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave');
34 34 end
... ... @@ -32,6 +32,6 @@
32 32 for i = [1:length(col)]
33 33 tosave = horzcat(tosave, ad_tosave{i});
34 34 end
35   -save('-text', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave');
  35 +save('-ascii', '-double', '-tabs', strcat(strsplit(filename, '.'){1}, '_ad.dat'), 'tosave');
36 36 end