2 %GETNEGATIVEFREQDATA Obtains the corresponding negative frequencies
for an analytic
4 % Obtains the negative conjugate symmetric frequency domain data
5 % when supplied with positive
freq data only.
6 % Note the positive frequency data should not contain the last points
7 %
i.e. data(1) ~= data(end), otherwise periodicity will be broken.
9 %Determine frequency resolution
12 %Create negative frequency and data vectors
14 negData = conj(posData(end:-1:2)); %negData is conjugate of posData
16 %Remove highest frequency from positive freq and data vectors
20 hermitianFreq = [negFreqs(:); posFreqs(:)];
21 hermitianData = [negData(:); posData(:)];
otherwise periodicity will be broken Determine frequency resolution deltaF
Create negative frequency and data vectors negFreqs
negData is conjugate of posData Remove highest frequency from positive freq and data vectors posFreqs(end)