Re: Windowed-sinc function




BobM wrote:
> Michel Rouzic wrote:
> > I tried changing my code by what you gave :
> >
> > for (i=0; i<*M/2; i++)
> > {
> > h[i]=sin(2*pi*fc*(i-*M/2))/(pi*(i-*M/2));
> > h[*M-i-1]=h[i];
> > }
> > h[*M/2]=2*fc;
> >
> > an apparently, it doesn't change alot. the highest sample besides the
> > central one is still only 1.8506121e-008
>
> That factor alone might be meaningless. What is it doing in the
> frequency domain?

as one could expect, not alot, it acts alot like a shifted delta
function

> > I also looked at your code http://www.musicdsp.org/files/wsfir.h and,
> > correct me if i'm wrong, but doesn't your blackman window end and start
> > with 0 values?
>
> Yes...
>
> I double-checked a couple of books (Oppenheim & Schafer and Rick
> Lyons's latest) and both show the Blackman window starting and ending
> with 0. Off the top of my head, the one common window notable for _not_
> starting/ending with 0 is the Hamming window.

oh, I thought zeros were useless for a blackman window. guess i'll have
to correct my code

> > anyways, i dont understand why it worked for you and not me if we're
> > using the same formulas...
>
> Not sure. Good luck!
>
> Michel, if you haven't done so already I highly recommend getting a
> hold of a couple of good DSP text books. I recommend Understanding DSP
> by Richard Lyons for starters. Your questions have served as good
> discussion topics, although I think most of your code issues could have
> been solved with a quick reference to a DSP book to brush up on the
> concepts.

yeah i'm getting kind of tired of always having to ask for help on
usenet. From what I see on amazon, it sounds like a very good book.
i'll buy it as soon as i can (whenever i get a job). btw, is the second
edition really worth the price difference?

.



Relevant Pages

  • Re: Windowed-sinc function
    ... I double-checked a couple of books (Oppenheim & Schafer and Rick ... Lyons's latest) and both show the Blackman window starting and ending ... I recommend Understanding DSP ...
    (comp.dsp)
  • Re: are reports the primary end files not forms?
    ... In the past month I have bought and read to my dismay 3 books gone to 5 or so ... It will have alot of feild because in the Navy you don't ... quals-5possible, equiptment quals-10,, gun ... quals-4, various ok thats just the quals they ...
    (microsoft.public.access.forms)
  • Re: Ideas for my site/workbook
    ... for a certain solution, whether it's file streaming or heck, the QuotedStr ... giving alot of bandwidth and space for very little money.. ... sample project to someone that knows alot more than you do, ... Instead of reading 80 books on the subject, ...
    (borland.public.delphi.non-technical)
  • Re: RHCT Books and Preperation???
    ... I have had 3 years of shell experience, but when I got to the class, I ... Pay alot of attention and don't ... > I have recently started studing for the RHCT exam. ... Any way I was wondering what are some good books to ...
    (linux.redhat)
  • Re: Nothing on Desktop or screen for CF
    ... Buy both books at Amazon.com on XP embedded, you'll find alot of good stuff ... David ... > initialization, I only see a light blue back ground with a mouse, I don't ...
    (microsoft.public.windowsxp.embedded)