Out of memory problem with filter design tool in Matlab I have a set of data in excel like this:



column A is time in ns and column B is the electric field strength.
now I want to convert the time-domain signal from these data to a frequency-domain signal with DSP toolbox in matlab.

to calculate Fs (sampling frequency) in order to use in signal analyse i use this formula:

time = T(:,1);      
L=2033;       
Ts = mean(diff(time));
Fs = 1/Ts;


which leads to :

Fs= 5e+09


then I import the signal (E) with sampling frequency Fs in signal analyze toolbox.
my signal is like this:



now i want to apply a bandpass filter in 16-32 MHZ range , so :



I've increased the paging file to maximum on my system with no success!
I should say that my system configuration is like this:

i5 CPU at 2.5 GHz

8 GB R3 Ram at 1600 MHz

I have two specific questions:

1- what should I do? Is there any thing that I should do to to be able to design the filter on my system?

2- if I change the time to second and the frequency to hz , how much does the results change?
Your sampling frequency is currently set to 5000000000 MHz, which is 5000 terahertz!  Notice that the units on the frequency specification should all be in MHz. Change the Fs value to be 5000 (MHz) and you will be much better off.

However, even once you fix this problem, you still may run into trouble.  You are specifying transition bands that have a width of less than 0.01% of your sampling rate.  This is not going to be practical, especially as an FIR filter.  I recommend that you consider a good low-pass filter followed by lots of down sampling.  Then you will be able to realistically extract the band of interest.