- fdet.m pass Xm
- fdet_coarse.m use alternative approach - fdet_wav.m added simple symbol decoding git-svn-id: http://moon:8086/svn/matlab/trunk@28 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
+2
-2
@@ -1,10 +1,10 @@
|
||||
function [omega, err, dmod, omega_coarse, omega_est] = fdet(x, N, Ng, off, omega_min, omega_step, omega_max)
|
||||
function [omega, err, dmod, omega_coarse, omega_est, Xm] = fdet(x, N, Ng, off, omega_min, omega_step, omega_max)
|
||||
%
|
||||
|
||||
K = fix((length(x)-Ng)/(N+Ng));
|
||||
|
||||
% Initial guess
|
||||
omega_coarse = fdet_coarse(x, N, omega_min, omega_step, omega_max);
|
||||
[omega_coarse, Xm] = fdet_coarse(x, N, Ng, omega_min, omega_step, omega_max);
|
||||
|
||||
phi_est = 0;
|
||||
omega_est = omega_coarse;
|
||||
|
||||
Reference in New Issue
Block a user