clear; clc; close all; clear variables

%calibration of pitot probes

ffc_depth = [.6,1.2,1.86,2.0,2.4,3.0]';

ffc_freq = [8.89,5.49,3.79,3.55,3.04,2.51]';

ffc_ampl = [2.53e-3,7.22,8.88,12.47,12.35,15.9]';

ffc_depth_vs_freq = [ffc_depth,ffc_freq];

ffc_depth_vs_ampl = [ffc_depth,ffc_ampl];


ffc2_depth = [.5,.7,1,1.1,1.2,1.3,1.4,1.5,1.8,1.9,2,2.5,3]';

ffc2_freq = [10.383,8.235,6.52,6.03,5.62,5.26,4.99,4.68,4.05,3.86,3.71,3.04,2.41]';

ffc2_ampl = [1.83e-5,3.58e-8,6.49e-8,6.44e-8,8.62e-8,1.92,5.56,5.21,9.03,7.42,7.87,9.62,15.02]';

ffc2_ampl_noisy = [.00205,6.69e-3,6.72e-2,2.69e-1,1.62,5.8,5.41,9.93]';

ffc2_depth_vs_freq = [ffc2_depth,ffc2_freq];

ffc2_depth_vs_ampl = [ffc2_depth,ffc2_ampl];

ffc2_depth_vs_ampl_noisy = [[.5,.7,1,1.1,1.2,1.3,1.5,1.8]',ffc2_ampl_noisy];


data_path = ['depth_vs_freq_ampl\'];

% csvwrite([data_path,'ffc_depth_vs_freq.dat'],ffc_depth_vs_freq)
% csvwrite([data_path,'ffc_depth_vs_ampl.dat'],ffc_depth_vs_ampl)
csvwrite([data_path,'ffc2_depth_vs_freq.dat'],ffc2_depth_vs_freq)
csvwrite([data_path,'ffc2_depth_vs_ampl.dat'],ffc2_depth_vs_ampl)
csvwrite([data_path,'ffc2_depth_vs_ampl_noisy.dat'],ffc2_depth_vs_ampl_noisy)
