help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filtfilt error solved?


From: Muhali
Subject: Re: filtfilt error solved?
Date: Fri, 3 Feb 2012 09:20:46 -0800 (PST)

seektime wrote
> 
> octave:129> [b, a]=butter(3, 0.1);
> octave:130> t = 0:0.01:1.0;
> octave:131> x=sin(2*pi*t*2.3)+0.25*randn(size(t));
> octave:132> y = filtfilt(b,a,x);
> error: filter: first dimension of SI must be of length max (length (a), 
> length (b)) - 1
> error: called from:
> error:
> C:\Octave\3.4.3_gcc-4.5.2\Octave3.4.3_gcc4.5.2\share\octave\packages\si
> gnal-1.1.1\filtfilt.m at line 85, column 3
> 

It works (for me) with octave-3.6 and signal-1.1.2

M.

--
View this message in context: 
http://octave.1599824.n4.nabble.com/filtfilt-error-solved-tp4355026p4355203.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]