Sorry about the late reply.

I've made the suggested change.

Thanks
Søren

tir, 31 08 2010 kl. 17:19 -0400, skrev Michael Poole:
> Reproducing this error is pretty easy:
> 
> octave:1> x = resample(zeros(2, 40), 4, 1);
> error: resample: A(I,J): row index out of bounds; value 306 out of
> bound 296
> error: called from:
> error:   /opt/octave/share/octave/packages/signal-1.0.11/resample.m at
> line 119, column 3
> 
> I think it is caused by assigning "Lx = length(x);" when x is a
> rectangular matrix with more rows than columns.  Changing that to
> rows(x) avoids the problem.  Is that the correct fix?
> 
> Michael Poole
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
> 
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________ Octave-dev mailing list 
> Octave-dev@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/octave-dev



------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to