Mercurial > hg > octave-terminal
changeset 4077:b5267e631ba8
[project @ 2002-09-27 22:48:46 by jwe]
author | jwe |
---|---|
date | Fri, 27 Sep 2002 22:48:46 +0000 |
parents | c651ee4c0846 |
children | bd51df637cb3 |
files | scripts/ChangeLog scripts/signal/fftshift.m scripts/specfun/erfinv.m |
diffstat | 3 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2002-09-27 Paul Kienzle <pkienzle@users.sf.net> + + * specfun/erfinv.m: Return NaN for NaN inputs. + 2002-09-26 Jeff Cunningham <jeffrey@cunningham.net> * statistics/base/var.m: Handle complex values.
--- a/scripts/signal/fftshift.m +++ b/scripts/signal/fftshift.m @@ -23,12 +23,12 @@ ## and @code{ifft} functions, in order the move the frequency 0 to the ## center of the vector or matrix. ## -## If @var{v} is a vector of @math{E} elements corresponding to @math{E} +## If @var{v} is a vector of @math{N} elements corresponding to @math{N} ## time samples spaced of @math{Dt} each, then @code{fftshift (fft ## (@var{v}))} corresponds to frequencies ## ## @example -## f = linspace (-E/(4*Dt), (E/2-1)/(2*Dt), E) +## f = ((1:N) - ceil(N/2)) / N / Dt ## @end example ## ## If @var{v} is a matrix, the same holds for rows and columns.