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

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

<refentry version="5.0-subset Scilab" xml:id="dst1" 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:scilab="http://www.scilab.org"
          xmlns:db="http://docbook.org/ns/docbook">

  <refnamediv>
    <refname>dst1</refname>
    <refpurpose>Computes the type I discrete sine transform of x</refpurpose>
  </refnamediv>


<refsynopsisdiv>
   <title>Syntax</title>
   <synopsis>
   y = dst1(x)
   y = dst1(x, n)
   
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
        <varlistentry>
            <term>x:</term>
            <listitem><para> real or complex valued vector</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>n:</term>
            <listitem><para> Length to which x is trimmed before transform</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>y:</term>
            <listitem><para> Discrete sine transform of the input signal.</para></listitem>
        </varlistentry>
   </variablelist>
</refsection>

<refsection>
   <title>Description</title>
   <para>
Computes the type 1 discrete sine transform of x. If n is given, then x is padded or trimmed to length n before computing the transform.
If x is a matrix, compute the transform along the columns of the the matrix.
   </para>
   <para>
</para>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
y = dst1([1, 2, 3, 4])

   ]]></programlisting>
</refsection>

<refsection role="see also">
   <title>See also</title>
   <simplelist type="inline">
   <member><link linkend="fft">fft</link></member>
   </simplelist>
</refsection>
</refentry>
