summaryrefslogtreecommitdiff
path: root/matlab_helper_files
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2012-01-12 16:05:04 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2012-01-12 16:05:04 -0500
commitb11e6e19fcf6f4c02a5efb82831bdecd39c00d84 (patch)
tree130988de380be52f66524c10ecc3a50b09734bd7 /matlab_helper_files
parent76b91d4697a673ced8a474982e5f8fca79a75c77 (diff)
downloadNresonances-b11e6e19fcf6f4c02a5efb82831bdecd39c00d84.tar.gz
Nresonances-b11e6e19fcf6f4c02a5efb82831bdecd39c00d84.zip
mat2dat: timing output commented out
Diffstat (limited to 'matlab_helper_files')
-rw-r--r--matlab_helper_files/map2dat.m21
1 files changed, 10 insertions, 11 deletions
diff --git a/matlab_helper_files/map2dat.m b/matlab_helper_files/map2dat.m
index 4f4ca52..853ddd8 100644
--- a/matlab_helper_files/map2dat.m
+++ b/matlab_helper_files/map2dat.m
@@ -12,8 +12,8 @@ Ny=length(y);
Nxs=ceil(Nx/xskip);
Nys=ceil(Ny/yskip);
points=zeros(1,3*Nxs*Nys);
-%points=[];
-tic;
+
+%tic;
for i=1:Nxs
for k=1:Nys
%points=[points x(i*xskip) y(k*yskip) z(k*yskip,i*xskip)];
@@ -22,12 +22,11 @@ for i=1:Nxs
points((i-1)*(Nys)*3+3*(k-1)+3) = z(1+(k-1)*yskip,1+(i-1)*xskip);
end
end
-disp('=== points formation complete ===');
-toc
-tic;
-%points
-fd = fopen(outfile, "wt");
-fprintf (fd, "%g %g %g\n", points);
-fclose(fd);
-disp('=== points saving complete ===');
-toc;
+%disp('=== points formation complete ===');
+%toc
+%tic;
+%fd = fopen(outfile, "wt");
+%fprintf (fd, "%g %g %g\n", points);
+%fclose(fd);
+%disp('=== points saving complete ===');
+%toc;