help-octave
[Top][All Lists]
Advanced

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

Re: Need help filtering 24 million element vector...


From: Doug Stewart
Subject: Re: Need help filtering 24 million element vector...
Date: Fri, 18 Oct 2019 14:57:08 -0400



On Fri, Oct 18, 2019 at 2:43 PM Brian Kaczynski <address@hidden> wrote:
Doug,

I already solved it.  I broke the input into four equal pieces, filtered them individually, and stitched the outputs back together.

It wasn't too bad because the input was a square wave so it had long periods with no change.

Thanks!
-Brian

Just for the record, this ran ok on my machine.

in1=rand(1,25e6);
b1=rand(1,2047);
y=filter(b1,1,in1);




 
On Fri, Oct 18, 2019 at 2:37 PM Doug Stewart <address@hidden> wrote:


On Fri, Oct 18, 2019 at 1:28 PM Brian Kaczynski <address@hidden> wrote:
Hello,

I have an input vector 24.576e6 elements long which I want to filter with an FIR filter with 2047 taps.  When I try to do:
y = filter(b,1,in);
Octave reports "error: out of memory or dimension too large for Octave's index type."

It doesn't seem like this should be too large...  Does anyone have a good idea how to compute this filter?

Thanks!
-Brian

Tell us more about your setup.
What os
how much memory.



--
DASCertificate for 206392



--
DASCertificate for 206392


reply via email to

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