Post Reply 
About the continuous Fourier Transform
12-14-2020, 02:59 AM
Post: #20
RE: About the continuous Fourier Transform
(12-13-2020 08:33 AM)Aries Wrote:  
(12-10-2020 06:51 AM)dah145 Wrote:  That'll be nice yeah. Thank you.

Hey dah145,
I'm back, here is a simple app:

[Image: fapp1.jpg]

[Image: fapp2.jpg]

First off you define the piecewise function (in an interval equal to a period) like this (say for rect(t) function):

[Image: rect.jpg]

Then you "describe" the function as a matrix (and store it to ff, as requested by the app), like this:

[Image: matrix.jpg]

Lastly, you can apply fourier(ff):

[Image: fourier.jpg]

The graph:

[Image: rect-plot.jpg]

For every row in the matrix (cycle "for"), the program runs the integration and then the results (stored in "s") are counted together.
I hope this can be a valid "starting point", eventually you could do so much more.
Happy XMas to you and everyone here,

Aries Smile

Thank you for your input, will definitely look into it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: About the continuous Fourier Transform - dah145 - 12-14-2020 02:59 AM



User(s) browsing this thread: 4 Guest(s)