<?xml version="1.0" encoding="UTF-8"?>

<!--
 * 
 * This help file was generated from Cambifunb.sci using help_from_sci().
 * 
 -->

<refentry version="5.0-subset Scilab" xml:id="Cambifunb" xml:lang="en"
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:svg="http://www.w3.org/2000/svg"
          xmlns:ns3="http://www.w3.org/1999/xhtml"
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
          xmlns:db="http://docbook.org/ns/docbook">

  <refnamediv>
    <refname>Cambifunb</refname>
	<refpurpose>Ambiguity function</refpurpose>
  </refnamediv>

<refsynopsisdiv>
   <title>Calling Sequence</title>
   <synopsis>
   [NAF,TAU,XI] = Cambifunb(X)
   [NAF,TAU,XI] = Cambifunb(X, TAU)
   [NAF,TAU,XI] = Cambifunb(X, TAU, N)
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
   <varlistentry><term>X           :</term>
      <listitem><para> Real or complex signal of length Nx for which the AF should be computed</para></listitem></varlistentry>
   <varlistentry><term>TAU         :</term>
      <listitem><para> Vector of lag values. It must contains regularily spaced integer values in [-Nx/2,Nx/2]. The default value is : -Nx/2:Nx/2. </para></listitem></varlistentry>
   <varlistentry><term>N           :</term>
      <listitem><para> Number of frequency bins. It must be in the interval [1, Nx]. The default value is  Nx.</para></listitem></varlistentry>
   <varlistentry><term>NAF         :</term>
      <listitem><para> doppler-lag representation, with the doppler bins stored in the rows and the time-lags stored in the columns.</para></listitem></varlistentry>
   <varlistentry><term>XI          :</term>
      <listitem><para> vector of doppler values.</para></listitem></varlistentry>
   <varlistentry><term>Note:</term>
      <listitem><para> The cross ambiguity function is not implemented yet</para></listitem></varlistentry>
   </variablelist>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
[AF,TAU,XI] = Cambifunb(hilbert(sin(2*%pi*0.25*(1:128)))+0.5*rand(1,128,'normal'),-63:64,128);
grayplot(XI,TAU,abs(AF)')
xlabel 'Time lag'
ylabel 'Frequency lag'
   ]]></programlisting>
</refsection>

<refsection>
   <title>Authors</title>
   <simplelist type="vert">
   <member>H. Nahrstaedt - Sep 2010</member>
   <member>Emmanuel Roy - 2000</member>
   </simplelist>
</refsection>
</refentry>
