close all
clear all


filenm{1} =  'SubmergedPlate_0m.res';
filenm{2} =  'SubmergedPlate_5m.res';
filenm{3} =  'SubmergedPlate_10m.res';
filenm{4} =  'SubmergedPlate_15m.res';
filenm{5} =  'SubmergedPlate_20m.res';
filenm{6} =  'SubmergedPlate_25m.res';
filenm{7} =  'SubmergedPlate_30m.res';
filenm{8} =  'SubmergedPlate_35m.res';
filenm{9} =  'SubmergedPlate_40m.res';
filenm{10} = 'SubmergedPlate_45m.res';
filenm{11} = 'SubmergedPlate_50m.res';


for i = 1:length(filenm)
    depth(i) = 5*(i-1);
    FD_coefs{i} =  ReadData(filenm{i});
end



figure
for i = 1:length(filenm)
    plot(FD_coefs{i}.T,abs(FD_coefs{i}.F{7,3}));
    hold all;
end

legend('0m','5m','15m','20m','25m','30m','35m','40m','45m','50m')

figure
for i = 1:length(filenm)
    plot(FD_coefs{i}.T,real(FD_coefs{i}.F{3,3}));
    hold all;
end

legend('0m','5m','15m','20m','25m','30m','35m','40m','45m','50m')




figure
for i = 1:length(filenm)
    plot(depth(i),abs(FD_coefs{i}.F{7,3}(10)),'x');
    hold on;
end