Hoffice push
This commit is contained in:
@@ -47,9 +47,9 @@ classdef ChannelFreqResp < handle
|
||||
% Detailed explanation goes here
|
||||
|
||||
arguments
|
||||
options.Nacq = 4096;
|
||||
options.Navg = 30;
|
||||
options.Ncp = 100;
|
||||
options.Nacq = 1024;
|
||||
options.Navg = 64;
|
||||
options.Ncp = 63;
|
||||
options.f_ref;
|
||||
options.f_observe;
|
||||
end
|
||||
@@ -188,8 +188,12 @@ classdef ChannelFreqResp < handle
|
||||
if 0
|
||||
figure(7);hold on;plot(fnew,20*log10(abs(iH)))
|
||||
end
|
||||
|
||||
% iH(1) is DC ---> iH(end) is High Freq.
|
||||
H_inv = [iH(1) iH fliplr(conj(iH)) conj(iH(1))];
|
||||
|
||||
H_inv = [iH(1) iH iH(end) fliplr(conj(iH)) conj(iH(1))];
|
||||
|
||||
obj.H_apply = H_inv;
|
||||
|
||||
Target.signal = real((ifft( ( fft(real( Target.signal )) .* H_inv' ) )));
|
||||
|
||||
Reference in New Issue
Block a user