summaryrefslogtreecommitdiff
path: root/help/en_US/chirp.xml
diff options
context:
space:
mode:
authorSunil Shetye2018-07-25 16:27:51 +0530
committerSunil Shetye2018-07-26 23:50:17 +0530
commit9ca7882cee16ad48b18df989e8300c697010e55a (patch)
tree59e0c6116b835ae3e5e3208bc9609ed2828069ed /help/en_US/chirp.xml
parent6bbb00d0f0128381ee95194cf7d008fb6504de7d (diff)
downloadFOSSEE-Signal-Processing-Toolbox-9ca7882cee16ad48b18df989e8300c697010e55a.tar.gz
FOSSEE-Signal-Processing-Toolbox-9ca7882cee16ad48b18df989e8300c697010e55a.tar.bz2
FOSSEE-Signal-Processing-Toolbox-9ca7882cee16ad48b18df989e8300c697010e55a.zip
code changes by Sonu Sharma during FOSSEE Fellowship 2018
Diffstat (limited to 'help/en_US/chirp.xml')
-rw-r--r--help/en_US/chirp.xml50
1 files changed, 29 insertions, 21 deletions
diff --git a/help/en_US/chirp.xml b/help/en_US/chirp.xml
index 31ccb71..60fc279 100644
--- a/help/en_US/chirp.xml
+++ b/help/en_US/chirp.xml
@@ -17,10 +17,9 @@
<refnamediv>
<refname>chirp</refname>
- <refpurpose>This function evaluates a chirp signal at time t.</refpurpose>
+ <refpurpose>Chirp signal at time t.</refpurpose>
</refnamediv>
-
<refsynopsisdiv>
<title>Calling Sequence</title>
<synopsis>
@@ -28,8 +27,8 @@
y = chirp(t, f0)
y = chirp(t, f0, t1)
y = chirp(t, f0, t1, f1)
- y = chirp(t, f0, t1, f1, frm)
- y = chirp(t, f0, t1, f1, frm, phse)
+ y = chirp(t, f0, t1, f1, form)
+ y = chirp(t, f0, t1, f1, form, phase)
</synopsis>
</refsynopsisdiv>
@@ -37,26 +36,27 @@
<title>Parameters</title>
<variablelist>
<varlistentry><term>t:</term>
- <listitem><para> vector</para></listitem></varlistentry>
+ <listitem><para> a vector of times to evaluate the chirp signal.</para></listitem></varlistentry>
<varlistentry><term>f0:</term>
- <listitem><para> </para></listitem></varlistentry>
+ <listitem><para> the frequency at t=0. [default value = 0 Hz]</para></listitem></varlistentry>
<varlistentry><term>t1:</term>
- <listitem><para> </para></listitem></varlistentry>
+ <listitem><para> some intermediate time. [default value = 1 sec] </para></listitem></varlistentry>
<varlistentry><term>f1:</term>
- <listitem><para> </para></listitem></varlistentry>
- <varlistentry><term>frm:</term>
- <listitem><para> string value, takes in "linear", "quadratic", "logarithmic"</para></listitem></varlistentry>
- <varlistentry><term>phse:</term>
- <listitem><para> </para></listitem></varlistentry>
+ <listitem><para> frequency at t=t1. [default value = 100 Hz]</para></listitem></varlistentry>
+ <varlistentry><term>form:</term>
+ <listitem><para> string value, takes in "linear", "quadratic", "logarithmic". [default value = "linear"]</para></listitem></varlistentry>
+ <varlistentry><term>phase:</term>
+ <listitem><para> phase shift at t=0. [default value = 0]</para></listitem></varlistentry>
+ <varlistentry><term>y:</term>
+ <listitem><para> chirp signal value corresponding to t. </para></listitem></varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Description</title>
<para>
-This is an Octave function.
-This function evaluates a chirp signal at time t. A chirp signal is a frequency swept cosine wave.
-The first argument is a vector of times to evaluate the chirp signal, second argument is the frequency at t=0, third argument is time t1 and fourth argument is frequency at t1.
+This function evaluates a chirp signal at time t. A chirp signal is a frequency swept cosine wave.</para>
+<para>The first argument is a vector of times to evaluate the chirp signal, second argument is the frequency at t=0, third argument is time t1 and fourth argument is frequency at t1.
The fifth argument is the form which takes in values "linear", "quadratic" and "logarithmic", the sixth argument gives the phase shift at t=0.
</para>
</refsection>
@@ -64,12 +64,20 @@ The fifth argument is the form which takes in values "linear", "quadratic" and "
<refsection>
<title>Examples</title>
<programlisting role="example"><![CDATA[
-chirp([4,3,2,1],4,5,0.9)
-ans =
-column 1 to 3
-0.9685832 0.2486899 0.0627905
-column 4
-- 0.3681246
+ t = [4,3,2,1];
+ f0 = 4;
+ t1 = 5;
+ f1 = 0.9;
+ form = "quadratic";
+ y = chirp(t, f0, t1, f1, form)
]]></programlisting>
</refsection>
+
+<refsection>
+<title>Modified by :</title>
+<simplelist type="vert">
+<member>Sonu Sharma, RGIT Mumbai (fellow at FOSSEE, IIT Bombay)</member>
+ </simplelist>
+</refsection>
+
</refentry>