Talk About Network

Google





Electronic Equipment > Digital Signal Processing (DSP) > Re: delay filte...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 14 of 18 Topic 13995 of 14426
Post > Topic >>

Re: delay filter

by "bharat pathak" <bharat@[EMAIL PROTECTED] > Oct 6, 2008 at 08:39 PM

Dirk,

    Good that you pointed it out. Actually i know very well that
    trailing zeros are not needed. But this example illustrates
    some im****tant aspects. I also know that adding zeros is 
    simplest way. But again this is DSP way of looking at the
    delay line.

    As a simple example if we have 9 tap LPFIR then we know for
    sure that the group delay of this filter is 4. ((9-1)/2). And
    this property can be used to create a delay line too. By
    making all other coefficients "0" other than the center one.

    Many digital designers do not understand the difference between
    Latency and Group Delay. I think it is im****tant that a delay
    line be thought as a very im****tant "DSP Element". 

Regards
Bharat Pathak

Arithos Designs
www.Arithos.com









>On Oct 6, 1:45=A0pm, "bharat pathak" <bha...@[EMAIL PROTECTED]
> wrote:
>> For delay a simple matlab filter command will do.
>>
>> For example you had xin data which is set of random
>> numbers
>>
>> >> xin =A0=3D rand(1,100) =A0 =A0 =A0 =A0 =A0 =A0 % 100 random numbers
>> >> h =A0 =A0=3D [0 0 0 0 1 0 0 0 0] =A0 =A0 % 9 tap linear phase FIR
filt=
>er
>> >> xdel =3D filter(h, 1, xin) =A0 =A0 =A0 % xdel is 4 sample delayed
vers=
>ion of
>>
>> xin
>>
>> Regards
>> Bharat Pathak
>>
>> Arithos Designswww.Arithos.com
>>
>> DSP Design Consultancy and Training Company.
>>
>> Join us on 2 day workshop at Pune (India) On "Fundamentals of DSP
using
>> Matlab/Octave". This workshop is held on 18th and 19th Oct. For more
>> details send mail to bha...@[EMAIL PROTECTED]
>
>Bharat,
>
>In your example, the trailing zeros in the impulse response are
>unnecessary and almost double your computation, but for your MATLAB
>example, the simplest way to create a delayed array would be to add 4
>zeros to the beginning of the array, which would take care of the
>whole thing without using any filtering function.
>
>Dirk
>
 




 18 Posts in Topic:
delay filter
"aenima1891" &l  2008-10-06 05:36:04 
Re: delay filter
John <sampson164@[EMAI  2008-10-06 05:20:38 
Re: delay filter
"aenima1891" &l  2008-10-06 07:42:58 
Re: delay filter
"aenima1891" &l  2008-10-06 07:50:03 
Re: delay filter
"bharat pathak"  2008-10-06 12:45:12 
Re: delay filter
"aenima1891" &l  2008-10-07 10:00:46 
Re: delay filter
"aenima1891" &l  2008-10-07 10:39:16 
Re: delay filter
Jerry Avins <jya@[EMAI  2008-10-07 11:56:01 
Re: delay filter
"aenima1891" &l  2008-10-07 11:05:12 
Re: delay filter
"bharat pathak"  2008-10-07 12:18:12 
Re: delay filter
"aenima1891" &l  2008-10-07 09:03:56 
Re: delay filter
"aenima1891" &l  2008-10-07 09:11:18 
Re: delay filter
dbell <bellda2005@[EMA  2008-10-06 12:31:15 
Re: delay filter
"bharat pathak"  2008-10-06 20:39:59 
Re: delay filter
Jerry Avins <jya@[EMAI  2008-10-06 22:17:20 
Re: delay filter
"bharat pathak"  2008-10-06 22:47:53 
Re: delay filter
Jerry Avins <jya@[EMAI  2008-10-07 10:54:35 
Re: delay filter
Rick Lyons <R.Lyons@[E  2008-10-11 05:44:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 21:51:57 PST 2009.