view test/octave.test/signal/detrend-1.m @ 4720:e759d01692db ss-2-1-53

[project @ 2004-01-23 04:13:37 by jwe]
author jwe
date Fri, 23 Jan 2004 04:13:37 +0000
parents 53acb394c728
children
line wrap: on
line source

## detrend-1.m
##
## Author: David Billinghurst (David.Billinghurst@riotinto.com.au)
##         Comalco Research and Technology
##         02 May 2000
N=32;
x = (0:1:N-1)/N + 2;
y = detrend(x);
all (all (abs (y) < 10*eps))