* Bug #8395 fixed - dft has been deprecated to fft. 47/9847/3
Sylvestre Ledru [Thu, 29 Nov 2012 10:31:57 +0000 (11:31 +0100)]
Change-Id: I2af010bf504f2a97c402865f4c62ef5b61778d57

scilab/CHANGES_5.4.X
scilab/modules/signal_processing/help/en_US/transforms/dft.xml
scilab/modules/signal_processing/macros/dft.sci

index 991309c..38d8a2f 100644 (file)
@@ -71,6 +71,8 @@ Bug fixes
 
 * Bug #8213 fixed - geom3d had no examples.
 
+* Bug #8395 fixed - dft has been deprecated to fft.
+
 * Bug #8414 fixed - Some genetic algorithms functions had no examples.
 
 * Bug #8883 fixed - In some cases, Scilab build from sources was looking for
index 24a03c1..4e0fd2f 100644 (file)
@@ -1,8 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="dft">
     <refnamediv>
-        <refname>dft</refname>
-        <refpurpose>discrete Fourier transform</refpurpose>
+        <refname>dft (deprecated)</refname>
+        <refpurpose>discrete Fourier transform
+            <emphasis role="bold">This function is obsolete.</emphasis>
+        </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Calling Sequence</title>
@@ -51,6 +53,19 @@ fft(x,1)
 dft(x,1)
  ]]></programlisting>
     </refsection>
+    
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>
+                    dft is obsolete. The algorithm has been moved to the <link linkend="fft">fft</link> help page.
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+    
     <refsection role="see also">
         <title>See Also</title>
         <simplelist type="inline">
index c8618e2..d8e4d8a 100644 (file)
@@ -14,7 +14,7 @@ function xf=dft(x,flag);
 // flag :indicates dft or idft
 // xf   :output vector
 //!
-
+warnobsolete('fft', '5.4.2');
 n=max(size(x));
 arg=(0:n-1);
 am=-2*%pi*%i*arg'*arg/n;