element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
DSP Forum Digital Signal Processing
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 6 replies
  • Answers 2 answers
  • Subscribers 126 subscribers
  • Views 1149 views
  • Users 0 members are here
  • dsp
  • fft
Related

Digital Signal Processing

martinvalencia
martinvalencia over 10 years ago

I started my thesis project for college, I have little experience in the area of digital signal processing, but enough to start a project; I have a question I could not answer.

How to read the magnitude of a Fourier transform, when using the Fourier transform, to calculate the magnitude of the imaginary and real parts, not achievement convert data to dB?

 

if there is any reference to this article serious issue of great help if you can share.

 

The FFT libraries I'm using are these:

 

Frequency Bin Example

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 10 years ago in reply to martinvalencia +3 verified
    dB is a ratiometric measurement: If we take the reference amplitude to be r then the amplitude of a signal v in dB is: dBv = 10*log(v/r) When we are talking about electrical signal we are usually much…
  • clem57
    clem57 over 10 years ago +2 suggested
    http://stackoverflow.com/questions/6393257/getting-fourier-transform-from-phase-and-magnitude-matlab has example of the magnitude of both parts. C
  • michaelkellett
    michaelkellett over 10 years ago +1 suggested
    Do you have access to MATLAB - (there are home and student versions at reasonable prices and if you are at college they may have licenses you can use). MATLAB is a really great way to play with Fourier…
  • clem57
    0 clem57 over 10 years ago

    http://stackoverflow.com/questions/6393257/getting-fourier-transform-from-phase-and-magnitude-matlab

    has example of the magnitude of both parts.

    C

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • martinvalencia
    0 martinvalencia over 10 years ago in reply to clem57

    the example you sent me is very simple and easy to understand, I will serve as a reference to start!

    thank you very much for your feedback!

    Best Regards

    Martin V.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 10 years ago

    Do you have access to MATLAB - (there are home and student versions at reasonable prices and if you are at college they may have licenses you can use).

     

    MATLAB is a really great way to play with Fourier transforms and signal processing maths in general.  The built in help is as good as most text books and it is really easy to try things.

     

    I develop almost all of my signal processing stuff for processors or FPGA by starting out by modelling the process in MATLAB.

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • martinvalencia
    0 martinvalencia over 10 years ago in reply to michaelkellett

    I have access to Matlab is a tool widely used in the university where I study.

     

    I see that you have worked much on this topic:

    My biggest question is the interpretation of the axis of magnitude

     

    Link (Matlab):

    Fast Fourier transform - MATLAB fft

     

    I learned to read the Fourier frequency spectrum but for example, in this picture you could see a fundamental harmonic with | Y (t) | = 1 and one with | Y (t) | = 0.5

     

    But how could convert that data to decibels (dB) ??

    There is some mathematical formula?

    new_fft2.gif

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 10 years ago in reply to martinvalencia

    dB is a ratiometric measurement:

     

    If we take the reference amplitude to be r then the amplitude of a signal v in dB is:

     

    dBv = 10*log(v/r)

     

    When we are talking about electrical signal we are usually much more interested in power ratios so dBp = 20*log(v/r)

     

    The v and p are not usually written down.

     

    So if we have a signal of amplitude 2V and noise of 8mV the signal to noise ratio  would normally be expressed as 20*log(2/.008) = 47.95dB

     

    There is a reasonable Wiki article:  https://en.wikipedia.org/wiki/Decibel

     

    MK

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • martinvalencia
    0 martinvalencia over 10 years ago in reply to michaelkellett

    Thank you very much, the ratio formula is just what I wanted.

    I really appreciate your help and your feedback!

     

    Best Regards

    Martin Valencia

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube