diff --git a/IO/phase_history/cphd/convert_to_cphd.m b/IO/phase_history/cphd/convert_to_cphd.m index 4cf38cf..27a634d 100644 --- a/IO/phase_history/cphd/convert_to_cphd.m +++ b/IO/phase_history/cphd/convert_to_cphd.m @@ -146,7 +146,6 @@ function convert_to_cphdx( input_ph_filename, output_cphd_file, varargin ) cphd_fid = fopen(output_cphd_file,'w','b'); % All CPHD must be big-endian xml_string = sicdstruct2xml(cphd_meta, 'file_type', format, 'inc_class_attributes', false); fh_struct = write_cphd_fileheader(cphd_fid, cphd_meta, format, numel(xml_string)); -fwrite(cphd_fid,sprintf('\f\n'),'char'); fwrite(cphd_fid,sprintf('%s\f\n',xml_string),'char'); % Vector-based metadata is actually positioned before CPHD data in the @@ -301,4 +300,4 @@ function write_cphd_vbmeta(cphd_fid, cphd_meta, nbdata) % ////////////////////////////////////////// % /// CLASSIFICATION: UNCLASSIFIED /// -% ////////////////////////////////////////// \ No newline at end of file +% ////////////////////////////////////////// diff --git a/Processing/IFP/PFA/pfa_fft_zeropad_1d.m b/Processing/IFP/PFA/pfa_fft_zeropad_1d.m index 100be34..dab62b3 100644 --- a/Processing/IFP/PFA/pfa_fft_zeropad_1d.m +++ b/Processing/IFP/PFA/pfa_fft_zeropad_1d.m @@ -14,10 +14,10 @@ zeropad(start_index + (1:size(data,1)),:) = data; % Insert data into zeropad zeropad = ifftshift(zeropad, 1); % Move DC (center point) to index 1 -data = fftshift(ifft(zeropad,[],1),1); % Actual FFT +data = fftshift(fft(zeropad,[],1),1); % Actual FFT end % ////////////////////////////////////////// % /// CLASSIFICATION: UNCLASSIFIED /// -% ////////////////////////////////////////// \ No newline at end of file +% //////////////////////////////////////////