Mercurial > forge
changeset 2795:7a614782378d octave-forge
Spelling corrections
author | pkienzle |
---|---|
date | Tue, 05 Dec 2006 20:45:13 +0000 |
parents | dce6c88cad87 |
children | c4da0d1725b7 |
files | main/signal/inst/dct.m main/signal/inst/dst.m |
diffstat | 2 files changed, 5 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/main/signal/inst/dct.m Tue Dec 05 20:26:20 2006 +0000 +++ b/main/signal/inst/dct.m Tue Dec 05 20:45:13 2006 +0000 @@ -15,7 +15,7 @@ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## y = dct (x, n) -## Computes the disrete cosine transform of x. If n is given, then +## Computes the discrete cosine transform of 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
--- a/main/signal/inst/dst.m Tue Dec 05 20:26:20 2006 +0000 +++ b/main/signal/inst/dst.m Tue Dec 05 20:45:13 2006 +0000 @@ -1,9 +1,8 @@ ## y = dst (x, n) -## Computes the disrete sine transform of x. If n is given, then -## x is padded or trimmed to length n before computing the transform. +## Computes the type I discrete sine transform of 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. +## the matrix. ## ## The discrete sine transform X of x can be defined as follows: ## @@ -11,14 +10,12 @@ ## X[k] = sum x[n] sin (pi n k / (N+1) ), k = 1, ..., N ## n=1 ## -## This is the type I transform. -## ## See also: idst ## This program is public domain ## Author: Paul Kienzle -## 2006-12-08 +## 2006-12-05 ## * initial release function y = dst (x, n)