Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9253213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:09:40+00:00 2026-06-18T11:09:40+00:00

I’m using Libgdx library for do FFT from accelerometer signal in an Android app.

  • 0

I’m using Libgdx library for do FFT from accelerometer signal in an Android app.

I need to have my signal normalized because I find the dot product of two signal and I want its max value 1.

With “normalization” i mean that the Euclidean Norm of signal is 1.
(Euclidean norm is square root of the sum of product of analogue components of vector. When I’ve found its value, for normalize signal I divide all components of vector by the norm value).

Dot product is in the frequency spectrum, so if I normalize the signal in time domain, the frequency spectrum representation is not euclidean normalized, then I’ll do again the euclidean normalization.
(I consider already after the FFT the normalization by 1/N scale factor, I think it not influence my problem, maybe).

Which are differences if I do Euclidean Normalization before and after FFT, or I do it only after FFT?

EDIT 1: Consider also that FFT in Libgdx library is Complex DFT, and I’ve real signal in input than the output signal is symmetric for 0 to (N/2)-1 and N/2 to N.
I verify that Parseval’s Theorem is verified if I apply no window (like Hamming’s window).
So, if I use 0 to N/2-1 components of signal, will I obtain a dot product between 0 and 1?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T11:09:41+00:00Added an answer on June 18, 2026 at 11:09 am

    Hm, seems nobody is answering this. Not sure why, but I will chime in briefly.

    Let f[n] be the signal, F[k] be the Fourier transformed version (obviously discrete).

    By Parseval’s theorem, we have that:

      norm(f[n]) = (1/N) norm(F[k])
    

    where N is the number of samples. By homogeneity of Fourier transform, if g[n]=a f[n], then G[k] = a F[k].

    Finally, combining these two, in order to get norm(F[k]) to be 1, what you need to do is divide by:

     (1)      norm(F[k]) = N norm(f[n])
    

    Either in time or frequency domain.

    Similar, if you want norm(f[n]) to be 1, what you need to do is divide by:

     (2)      norm(f[n]) = (1/N) norm(F[k])
    

    And finally:

    Which are differences if I do Euclidean Normalization before and after FFT, or I do it only after FFT?

    It does not make a difference whether you divide before or after because Fourier transform is linear (and homogeneity property holds). However, if you want the time domain to have norm of 1, then you should use the constant in (2). On the other hand, to get the frequency domain to have norm of 1, you should use constant in (1).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to find ID3V2 tags from MP3 file using jid3lib in Java.
I have thousands of HTML files to process using Groovy/Java and I need to
We're building an app, our first using Rails 3, and we're having to build
I have a text area in my form which accepts all possible characters from
I am using Paperclip to handle profile photo uploads in my app. They upload
I have a view passing on information from a database: def serve_article(request, id): served_article
I have a bunch of posts stored in text files formatted in yaml/textile (from
I am using jsonparser to parse data and images obtained from json response. When
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.