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

<!--
This file is part of the Scilab time frequency toolbox.
This file must be used under the terms of the  terms of the GNU General Public License 
as published by the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

Copyright (c) 1996 by CNRS (France).
-->

<refentry xml:id="anastep" 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:scilab="http://www.scilab.org"
          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>anastep</refname>
	<refpurpose>Analytic projection of unit step signal</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <title>Calling Sequence</title>
    <synopsis>
      Y = anastep(N)
      Y = anastep(N, TI)
    </synopsis>
  </refsynopsisdiv>

  <refsection>
    <title>Parameters</title>
    <variablelist>
      <varlistentry>
        <term>	N  :</term>
        <listitem>
          <para>a positive integer value: the signal length. </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>	TI :</term>
        <listitem>
          <para>a positive integer value: the time position (index) of
          the impulse (default : round(N/2)).</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Y :</term>
        <listitem>
          <para>a complex column vector of length N: the signal samples.</para>
        </listitem>
      </varlistentry>
    </variablelist>
</refsection>

<refsection>
   <title>Description</title>
   <para>
     anastep generates the analytic projection of a unit step
     signal. The step heigth is 1.
</para>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
s1 = anastep(256,150);
s2 = 1.1*anastep(256,50);
clf; plot(real([s1 s2]));
   ]]></programlisting>
   <scilab:image><![CDATA[
   s1=anastep(256,150);
   s2=1.1*anastep(256,50);
   clf;plot(real([s1 s2]));
    ]]></scilab:image>
</refsection>

<refsection role="see also">
   <title>See also</title>
   <simplelist type="inline">
   <member><link linkend="anasing">anasing</link></member>
   <member><link linkend="anafsk">anafsk</link></member>
   <member><link linkend="anabpsk">anabpsk</link></member>
   <member><link linkend="anaqpsk">anaqpsk</link></member>
   <member><link linkend="anaask">anaask</link></member>
   </simplelist>
</refsection>

<refsection>
   <title>Authors</title>
   <simplelist type="vert">
   <member>H. Nahrstaedt - Aug 2010</member>
   <member>O. Lemoine - June 1995, F. Auger, August 1995.</member>
   <member>Copyright (c) 1996 by CNRS (France).</member>
   </simplelist>
</refsection>
</refentry>
