summaryrefslogtreecommitdiff
path: root/macros/idct1.sci
diff options
context:
space:
mode:
authoravinashlalotra2025-04-26 20:09:12 +0530
committeravinashlalotra2025-04-26 20:09:12 +0530
commitea7dcdba3b83696b97cc431ee050b58f9a0f3507 (patch)
tree49ea8ba898b88535c261546f4e3accbdf4c83bdf /macros/idct1.sci
parent725d9ee2ddb254f57a896bb47e0e727759eb5901 (diff)
downloadFOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.tar.gz
FOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.tar.bz2
FOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.zip
formated source documentation pattern for generating docs
Diffstat (limited to 'macros/idct1.sci')
-rw-r--r--macros/idct1.sci32
1 files changed, 16 insertions, 16 deletions
diff --git a/macros/idct1.sci b/macros/idct1.sci
index 3f007fa..47baf78 100644
--- a/macros/idct1.sci
+++ b/macros/idct1.sci
@@ -1,20 +1,20 @@
-/*Description
- This function computes the inverse discrete cosine transform of input X.
- If N is given, then X is padded or trimmed to length N before computing the transform.
- If X is a matrix, compute the transform along the columns of the the matrix.
- The transform is faster if X is real-valued and even length.
-Calling Sequence
- Y = idct1(X)
- Y = idct1(X, N)
-Parameters
- X: Matrix or integer
- N: If N is given, then X is padded or trimmed to length N before computing the transform.
-Examples
- idct1([1,3,6])
- ans =
- 5.1481604 - 4.3216292 0.9055197
-*/
function y = idct1(x,n)
+// Description
+// This function computes the inverse discrete cosine transform of input X.
+// If N is given, then X is padded or trimmed to length N before computing the transform.
+// If X is a matrix, compute the transform along the columns of the the matrix.
+// The transform is faster if X is real-valued and even length.
+// Calling Sequence
+// Y = idct1(X)
+// Y = idct1(X, N)
+// Parameters
+// X: Matrix or integer
+// N: If N is given, then X is padded or trimmed to length N before computing the transform.
+// Examples
+// idct1([1,3,6])
+// ans =
+// 5.1481604 - 4.3216292 0.9055197
+
funcprot(0);
rhs=argn(2);
if (rhs<1 | rhs>2) then