From bb80dbfd27a7774ac134786746b4f07927521672 Mon Sep 17 00:00:00 2001 From: Rhys Thomas Date: Mon, 29 Apr 2024 17:10:31 +0100 Subject: [PATCH] Update nCorrToDavis.m - The header should contain the subset spacing - There was an extra tab on the end of the lines --- scripts/nCorrToDavis.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/nCorrToDavis.m b/scripts/nCorrToDavis.m index 0d56724..e5eeaed 100644 --- a/scripts/nCorrToDavis.m +++ b/scripts/nCorrToDavis.m @@ -19,7 +19,7 @@ %Make header string header = ['#nCorr 1.2 2D-vector ', ... - int2str(subset_size), ... + int2str(subset_spacing), ... ' ', ... int2str(y_len), ... ' ', ... @@ -39,7 +39,7 @@ for y=1:y_len waitbar(y/y_len, f, 'Exporting data to txt file...') for x=1:x_len - fprintf(fileID,'%1.1f\t%1.1f\t%6.6f\t%6.6f\t\n', ... + fprintf(fileID,'%1.1f\t%1.1f\t%6.6f\t%6.6f\n', ... [((x-1)*subset_spacing)+subset_spacing./2, ... ((y-1)*subset_spacing)+subset_spacing./2, ... u(y,x), ...