Thread: A question about handling Fourier transform results

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    Quote Originally Posted by Nominal Animal View Post
    Instead, you should just zero out all samples below 35 grams. This way they do not affect the spectrum. (If you feel unsure about that, just consider the DFT definition (Wikipedia). Zero samples xn have no effect on the result, as if they were never even considered. As long as the nonzero samples indexes n are unchanged, that is.)
    Ah crap, just figured out that you're right. I could dissect out each pull above 35 grams, and then simply zero-pad them all to each be 2500 samples.
    My Website

    "Circular logic is good because it is."

  2. #2
    Ticked and off
    Join Date
    Oct 2011
    Location
    La-la land
    Posts
    1,728
    Quote Originally Posted by DavidP View Post
    Ah crap, just figured out that you're right. I could dissect out each pull above 35 grams, and then simply zero-pad them all to each be 2500 samples.
    Right. I didn't initially understand that you had multiple separate events in each file.

    A simple program (even some crafty awk scripts) could do that for you automatically, if you happen to use a nice OS.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Fast Fourier Transforms, k values?
    By birdhen in forum C Programming
    Replies: 6
    Last Post: 12-05-2011, 05:19 PM
  2. An efficient storage scheme for fourier data
    By Sebastiani in forum General Discussions
    Replies: 16
    Last Post: 11-07-2010, 01:22 PM
  3. Fourier Transform
    By srikanthreddy in forum C++ Programming
    Replies: 2
    Last Post: 04-09-2005, 08:36 AM
  4. fourier transform in C
    By blinky in forum C Programming
    Replies: 4
    Last Post: 02-25-2004, 12:27 PM
  5. fourier transform support
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 01-28-2002, 11:59 AM