- 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:
2015-04-06 10:52:45 +00:00
parent c305a4c496
commit 2a65062181
3 changed files with 39 additions and 5 deletions
+2 -2
View File
@@ -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;