Re: Filtering



rajgerman wrote:
Hey

Once I have filtered out the frequencies I don't want plus ifft the
results then I will compare them to the data collected from the eye.

I'm trying to create a vector with zeros and ones but finding it
difficult. So far I have done the following:

V = ones(1,88200);
f = -44100/2:1/2:44100/2-1/2;

I have now described the x-axis of V in frequency terms. Now how do I
convert the 1's outside -5000Hz and 5000Hz from V into 0's??

So then I'm able to multiply the result to my ffted data as stated in the
previous posts. I know some of you suggest that this is not the best
method but I'm just trying out different ways. Please bear in mind I'm
just a beginner to DSP and MATLAB.


Oho! Before, you wrote 5 Hz. Now it appears that 5 Hz was a mistake, and it should have been 5 KHz. That changes many of the numbers in Fred's response to you. It see the frequency response of your brick-wall filter, you will need to start with a signal that has uniform response initially. A pseudorandom bit stream will serve.

Be warned: the response above 5 KHz will be quite large at some frequencies. This will show best on a logarithmic (decibel) vertical scale. It might also be instructive to use a squarish pulse (corners softened to remove frequencies above 20 KHz) and observe the shape of the filtered result.

You once wrote, "I'm not too good with matlab so I'm trying to find the most easiest way. I also don't want to use the signal processing tools." You can't learn to drive a car without learning also where the pedals are and what they do.

Jerry
--
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
.



Relevant Pages

  • Re: EBU Technical Review - More pro-DAB Bias
    ... listen to higher frequencies. ... You need high quality and now you ... What is the use of having no filter while using 128 kbps on DAB? ... the issue was that you originally said 18.5 kHz ...
    (alt.radio.digital)
  • Analog Filter Design from Data Points?
    ... I have a very-occasional need to design an analog filter, ... and then calculate very-approximate cutoff frequencies and amplitude ... I need to have the response at the data points above be accurate within ...
    (sci.electronics.design)
  • Re: Filter Question
    ... If the sample rate is high enough, a simple R-C analog filter will do. ... Even if I have a heigher sampling frequency, ... Starting at the end, once the signal is sampled and reproduced, there are no frequencies higher than half the sampling rate. ... Sample a pure tone of 4.1 KHz at a rate of 8 KHz. ...
    (comp.dsp)
  • Re: Earl & Donna Evleths address
    ... >> Spam filters are quite good, our Wanadoo filter gets about 90% of it ... But they filter most of the stuff without ... I can switch frequencies and go back 50 years in behavior, ...
    (rec.travel.europe)
  • Linear phase eq using overlap add problem
    ... Incoming blocks are then added like this: ... a 100Hz sine and used some +24dB high-Q lowpass, ... suspected that it takes some time for the filter to ... creating crackles and also frequencies that really were not in the signal! ...
    (comp.dsp)