How to find harmonic amplitude in a signal using neural network

I need to find the amplitude of harmonic present in the current signal. Suggestions and help is appreciated.

 Accepted Answer

A neural network cannot be used to implement the FFT function.
A NN typically represents a point-to-point mapping between an I-dimensional input function and an O-dimensional output function. A single I-dimensional sample from the input function will map to a corresponding single O-dimensional sample of the output function. A reordering of input samples will yield a corresponding reordering of output samples.
The FFT represents a function-to-function mapping. Each point of the output depends on each point of the input. Single point transformations and point reordering are not defined
Hope this helps.
Thank you for formally accepting my answer
Greg

More Answers (1)

Do not use a neural network. Use a DFT or, for equally-spaced FFT.
help fft
doc fft
or search the NEWSGROUP using
dftgh
Hope this helps.
Thank you for formally accepting my answer
Greg

1 Comment

Why do you want to do this? It is a waste of time ... unless it is a school assignment or you know something that I don't.

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 3 Jan 2014

Edited:

on 6 Jan 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!