summaryrefslogtreecommitdiff
path: root/help/en_US/ifft2.xml
blob: 02eb5f9aed8f053bcc1fb9bccd385be18fde1bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="UTF-8"?>

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

<refentry version="5.0-subset Scilab" xml:id="ifft2" 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>ifft2</refname>
    <refpurpose>Calculates the inverse two-dimensional discrete Fourier transform of A using a Fast Fourier Transform algorithm.</refpurpose>
  </refnamediv>


<refsynopsisdiv>
   <title>Calling Sequence</title>
   <synopsis>
   ifft2 (A, m, n)
   ifft2 (A)
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
   <varlistentry><term>A:</term>
      <listitem><para> input matrix</para></listitem></varlistentry>
   <varlistentry><term>m:</term>
      <listitem><para> number of rows of A to be used</para></listitem></varlistentry>
   <varlistentry><term>n:</term>
      <listitem><para> number of columns of A to be used</para></listitem></varlistentry>
   </variablelist>
</refsection>

<refsection>
   <title>Description</title>
   <para>
This is an Octave function.
It performs inverse two-dimensional FFT on the matrix A. m and n may be used specify the number of rows and columns of A to use. If either of these is larger than the size of A, A is resized and padded with zeros.
If A is a multi-dimensional matrix, each two-dimensional sub-matrix of A is treated separately.
</para>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
x = [1 2 3; 4 5 6; 7 8 9]
m = 4
n = 4
ifft2 (A, m, n)
ans =

2.81250 + 0.00000i  -0.37500 + 0.93750i   0.93750 + 0.00000i  -0.37500 - 0.93750i
-1.12500 + 0.93750i  -0.31250 - 0.50000i  -0.37500 + 0.31250i   0.31250 + 0.25000i
0.93750 + 0.00000i  -0.12500 + 0.31250i   0.31250 + 0.00000i  -0.12500 - 0.31250i
-1.12500 - 0.93750i   0.31250 - 0.25000i  -0.37500 - 0.31250i  -0.31250 + 0.50000i
   ]]></programlisting>
</refsection>
</refentry>