MATLAB: Computing cross-ambiguity using ambgfun

ambgfuncross-ambiguityPhased Array System Toolbox

I am trying to compute the cross-ambiguity between a radar pulse waveform and received radar data using afmag = ambgfun(x,y,Fs,PRF). The web documentation (https://www.mathworks.com/help/phased/ref/ambgfun.html) says this should work, but the online docs in my Linux R2016a installation contradict this. All examples there include only one input signal vector, and the ambgfun(x,y,Fs,PRF) syntax does not work (I get the error "Expected Fs to be a scalar.") I have been unable to find another built-in function that will compute the cross-ambiguity. Is there one? (The inclusion of that case in the online docs suggests to me that there should be.)

Best Answer

Although ambgfun function has been available since v1, the cross ambiguity function capability is added in R2016b. That's why you cannot get it to work in R2016a. You can refer to the release notes to see when certain capabilities are added to the toolbox.
HTH