summaryrefslogtreecommitdiff
path: root/help/en_US/dctmtx.xml
diff options
context:
space:
mode:
Diffstat (limited to 'help/en_US/dctmtx.xml')
-rw-r--r--help/en_US/dctmtx.xml21
1 files changed, 12 insertions, 9 deletions
diff --git a/help/en_US/dctmtx.xml b/help/en_US/dctmtx.xml
index 0b05453..2594b48 100644
--- a/help/en_US/dctmtx.xml
+++ b/help/en_US/dctmtx.xml
@@ -17,14 +17,14 @@
<refnamediv>
<refname>dctmtx</refname>
- <refpurpose></refpurpose>
+ <refpurpose>Return the DCT transformation matrix of size N-by-N.</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Calling Sequence</title>
<synopsis>
- [y]=dctmtx(n)
+ T = dctmtx(n)
</synopsis>
</refsynopsisdiv>
@@ -39,7 +39,6 @@
<refsection>
<title>Description</title>
<para>
-This is an Octave function
dctmtx(n) returns a Discrete cosine transform matrix of order n-by-n. It is useful for jpeg image compression. D*A is the DCT of the columns of A and D'*A is the inverse DCT of the columns of A (when A is n-by-n).
</para>
</refsection>
@@ -47,12 +46,16 @@ dctmtx(n) returns a Discrete cosine transform matrix of order n-by-n. It is usef
<refsection>
<title>Examples</title>
<programlisting role="example"><![CDATA[
-1. dctmtx(2)
-ans = [0.70711 0.70711; 0.70711 -0.70711]
-2. dctmtx(3)
-ans = [5.7735e-01 5.7735e-01 5.7735e-01;
-7.0711e-01 4.9996e-17 -7.0711e-01;
-4.0825e-01 -8.1650e-01 4.0825e-01]
+ n= 3;
+ T = dctmtx(n)
]]></programlisting>
</refsection>
+
+<refsection>
+<title>Modified by :</title>
+<simplelist type="vert">
+<member>Sonu Sharma, RGIT Mumbai (fellow at FOSSEE, IIT Bombay)</member>
+ </simplelist>
+</refsection>
+
</refentry>