Amplitude of input wave is massively different to Fourier coefficient amplitudePlotting FFT on octaveAre real and imaginary parts of fft ouput correlated?Signal analysis: amplitude estimation in MATLABCan you compute the amplitude/power of original signal from Fourier transform?How do I match lomb-scargle and FFT plots of same dataset?How to calculate efficiently and accurately the Fourier transform of a radial function in FortranAutocorrelation of multiple time series in Matlab using FFTExtract Fourier coeffients from fft() in RIssue with Discrete Double Fourier Series in MATLABModeling a Fourier Series from Discrete Fourier Transform for ExtrapolationAmplitude for each day of daily time series

Frame failure sudden death?

Should I give professor gift at the beginning of my PhD?

Should I compare a std::string to "string" or "string"s?

Trapping Rain Water

What's the largest optical telescope mirror ever put in space?

Why is one of Madera Municipal's runways labelled with only "R" on both sides?

How can I most clearly write a homebrew item that affects the ground below its radius after the initial explosion it creates?

What language is the software written in on the ISS?

What does the term "railed" mean in signal processing?

Were Alexander the Great and Hephaestion lovers?

Confusion about off peak timings of London trains

How to project 3d image in the planes xy, xz, yz?

How to tell your grandparent to not come to fetch you with their car?

Are there downsides to using std::string as a buffer?

How to retract an idea already pitched to an employer?

Was there a priest on the Titanic who stayed on the ship giving confession to as many as he could?

How to officially communicate to a non-responsive colleague?

How do I write "Show, Don't Tell" as a person with Asperger Syndrome?

Is it possible to 'live off the sea'

What is the actual quality of machine translations?

Implement Homestuck's Catenative Doomsday Dice Cascader

Do any instruments not produce overtones?

Why only the fundamental frequency component is said to give useful power?

Smooth switching between 12 V batteries, with a toggle switch



Amplitude of input wave is massively different to Fourier coefficient amplitude


Plotting FFT on octaveAre real and imaginary parts of fft ouput correlated?Signal analysis: amplitude estimation in MATLABCan you compute the amplitude/power of original signal from Fourier transform?How do I match lomb-scargle and FFT plots of same dataset?How to calculate efficiently and accurately the Fourier transform of a radial function in FortranAutocorrelation of multiple time series in Matlab using FFTExtract Fourier coeffients from fft() in RIssue with Discrete Double Fourier Series in MATLABModeling a Fourier Series from Discrete Fourier Transform for ExtrapolationAmplitude for each day of daily time series






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















The series of waves I input into the fft() function in R all have an RMS in the order of 10E-2, however the Fourier coefficient is massively different for all the waves (anywhere from 0.3-15).



I've looked at other fft functions such as the periodogram() and the coefficients remain the same.



Nothing fancy, just importing a series of y values into the fft function then taking the modulus.



result <- abs(fft(df))


An example of the input data and output transform is seen here:



enter image description here



enter image description here



Am I incorrect in assuming that there is a direct correlation between the RMS/Amplitude of the sin wave and the magnitude of the fourier coefficient?



Thanks in advance.










share|improve this question

















  • 2





    I don't know about R's FFT implementation, but for most FFTs you need to divide the magnitude by the FFT size, as there is an implicit scaling factor.

    – Paul R
    Mar 24 at 17:00

















1















The series of waves I input into the fft() function in R all have an RMS in the order of 10E-2, however the Fourier coefficient is massively different for all the waves (anywhere from 0.3-15).



I've looked at other fft functions such as the periodogram() and the coefficients remain the same.



Nothing fancy, just importing a series of y values into the fft function then taking the modulus.



result <- abs(fft(df))


An example of the input data and output transform is seen here:



enter image description here



enter image description here



Am I incorrect in assuming that there is a direct correlation between the RMS/Amplitude of the sin wave and the magnitude of the fourier coefficient?



Thanks in advance.










share|improve this question

















  • 2





    I don't know about R's FFT implementation, but for most FFTs you need to divide the magnitude by the FFT size, as there is an implicit scaling factor.

    – Paul R
    Mar 24 at 17:00













1












1








1








The series of waves I input into the fft() function in R all have an RMS in the order of 10E-2, however the Fourier coefficient is massively different for all the waves (anywhere from 0.3-15).



I've looked at other fft functions such as the periodogram() and the coefficients remain the same.



Nothing fancy, just importing a series of y values into the fft function then taking the modulus.



result <- abs(fft(df))


An example of the input data and output transform is seen here:



enter image description here



enter image description here



Am I incorrect in assuming that there is a direct correlation between the RMS/Amplitude of the sin wave and the magnitude of the fourier coefficient?



Thanks in advance.










share|improve this question














The series of waves I input into the fft() function in R all have an RMS in the order of 10E-2, however the Fourier coefficient is massively different for all the waves (anywhere from 0.3-15).



I've looked at other fft functions such as the periodogram() and the coefficients remain the same.



Nothing fancy, just importing a series of y values into the fft function then taking the modulus.



result <- abs(fft(df))


An example of the input data and output transform is seen here:



enter image description here



enter image description here



Am I incorrect in assuming that there is a direct correlation between the RMS/Amplitude of the sin wave and the magnitude of the fourier coefficient?



Thanks in advance.







r signal-processing fft frequency-analysis






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 24 at 16:20









Jkind9Jkind9

5711




5711







  • 2





    I don't know about R's FFT implementation, but for most FFTs you need to divide the magnitude by the FFT size, as there is an implicit scaling factor.

    – Paul R
    Mar 24 at 17:00












  • 2





    I don't know about R's FFT implementation, but for most FFTs you need to divide the magnitude by the FFT size, as there is an implicit scaling factor.

    – Paul R
    Mar 24 at 17:00







2




2





I don't know about R's FFT implementation, but for most FFTs you need to divide the magnitude by the FFT size, as there is an implicit scaling factor.

– Paul R
Mar 24 at 17:00





I don't know about R's FFT implementation, but for most FFTs you need to divide the magnitude by the FFT size, as there is an implicit scaling factor.

– Paul R
Mar 24 at 17:00












1 Answer
1






active

oldest

votes


















1














As I described in another answer, there is an approximate relationship between the amplitude in the time-domain and the frequency-domain, which I stated under the usual Discrete Fourier Transform definition. Since R's fft follows the same definition (see the documentation), you may expect a similar approximate 0.5*N scaling of the amplitude when going from the time-domain to the frequency-domain.



Note that since you clearly do not have a pure sinusoidal signal, the different frequency component may start to interfere and make the relationship more approximate than absolute truth, but it should still be in the right order of magnitude.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55325885%2famplitude-of-input-wave-is-massively-different-to-fourier-coefficient-amplitude%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    As I described in another answer, there is an approximate relationship between the amplitude in the time-domain and the frequency-domain, which I stated under the usual Discrete Fourier Transform definition. Since R's fft follows the same definition (see the documentation), you may expect a similar approximate 0.5*N scaling of the amplitude when going from the time-domain to the frequency-domain.



    Note that since you clearly do not have a pure sinusoidal signal, the different frequency component may start to interfere and make the relationship more approximate than absolute truth, but it should still be in the right order of magnitude.






    share|improve this answer



























      1














      As I described in another answer, there is an approximate relationship between the amplitude in the time-domain and the frequency-domain, which I stated under the usual Discrete Fourier Transform definition. Since R's fft follows the same definition (see the documentation), you may expect a similar approximate 0.5*N scaling of the amplitude when going from the time-domain to the frequency-domain.



      Note that since you clearly do not have a pure sinusoidal signal, the different frequency component may start to interfere and make the relationship more approximate than absolute truth, but it should still be in the right order of magnitude.






      share|improve this answer

























        1












        1








        1







        As I described in another answer, there is an approximate relationship between the amplitude in the time-domain and the frequency-domain, which I stated under the usual Discrete Fourier Transform definition. Since R's fft follows the same definition (see the documentation), you may expect a similar approximate 0.5*N scaling of the amplitude when going from the time-domain to the frequency-domain.



        Note that since you clearly do not have a pure sinusoidal signal, the different frequency component may start to interfere and make the relationship more approximate than absolute truth, but it should still be in the right order of magnitude.






        share|improve this answer













        As I described in another answer, there is an approximate relationship between the amplitude in the time-domain and the frequency-domain, which I stated under the usual Discrete Fourier Transform definition. Since R's fft follows the same definition (see the documentation), you may expect a similar approximate 0.5*N scaling of the amplitude when going from the time-domain to the frequency-domain.



        Note that since you clearly do not have a pure sinusoidal signal, the different frequency component may start to interfere and make the relationship more approximate than absolute truth, but it should still be in the right order of magnitude.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 26 at 1:42









        SleuthEyeSleuthEye

        11.1k22047




        11.1k22047





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55325885%2famplitude-of-input-wave-is-massively-different-to-fourier-coefficient-amplitude%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript