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

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

<refentry version="5.0-subset Scilab" xml:id="fwhmjlt" 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>fwhmjlt</refname>
    <refpurpose>This function computes peak full width at half minimum or at another level of peak minimum for vector or matrix data y supplied as input.</refpurpose>
  </refnamediv>


<refsynopsisdiv>
   <title>Syntax</title>
   <synopsis>
   f = fwhmjlt(y)
   f = fwhmjlt(x, y)
   f = fwhmjlt(…, "zero")
   f = fwhmjlt(…, "min")
   f = fwhmjlt(…, "alevel", level)
   f = fwhmjlt(…, "rlevel", level)
   
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
        <varlistentry>
            <term>y :</term>
            <listitem><para> vector or matrix. If y is a matrix, fwhm is calculated for each column as a row vector.</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>'zero' :</term>
            <listitem><para> The second argument is by default "zero" which computes the fwhm at half maximum.</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>'min' :</term>
            <listitem><para> If it is "min", fwhm is computed at middle curve.</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>'rlevel' :</term>
            <listitem><para> The option "rlevel" computes full-width at the given relative level of peak profile.</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>'alevel' :</term>
            <listitem><para> The option "alevel" computes full-width at the given absolute level of y.</para></listitem>
        </varlistentry>
   </variablelist>
</refsection>

<refsection>
   <title>Description</title>
   <para>
This function computes peak full width at half minimum or at another level of peak minimum for vector or matrix data y supplied as input.
This function returns 0 if FWHM does not exist.
   </para>
   <para>
</para>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
t=-50:0.01:50;
y=(1/(2*sqrt(2*%pi)))*exp(-(t.^2)/8);
z=fwhmjlt(y)

   ]]></programlisting>
</refsection>
</refentry>
