[go: up one dir, main page]

Menu

[73c35b]: / init / wl.m  Maximize  Restore  History

Download this file

20 lines (17 with data), 505 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
% wl.m: short form of the reduced lag ambiguity function
% GUISDAP v.1.60 96-05-27 Copyright Asko Huuskonen and Markku Lehtinen
%
% vc: virtual channel number
% lag: lag value
% w : lag ambiguity function
% l : lag ambiguity function support
% plot(l*p_dtau,w) shows the function with correct lag values in us
%
% See also: lpgwom wr Ap Aenv
%
% function [w,l]=wl(vc,lag)
function [w,l]=wl(vc,lag)
global vc_Ap
len=length(vc_Ap(:,vc));
l=((lag-len+1):(lag+len-1))';
w=Ap(vc,l-lag).*Aenv(vc,l);