Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.44/5 (3 votes)
See more:
Is there C# code that converts from the Time Domain to the Frequency Domain via DFT ... then back to the Time Domain via Reverse DFT?

I have searched numerous variations (DFT, FFT, Reverse, Inverse) for about a week ... looked at many sites. There are many Forwards, but no Reverse or Inverse.

What I have tried:

I cannot find C# code the does a Reverse DFT code.
Posted
Updated 29-Oct-21 2:20am
v2

Quote:
Is there C# code that converts from the Time Domain to the Frequency Domain via DFT
Yes. There are many implementations of Fourier Transforms and I don't have a favourite so see this Google Search[^] for "c# discrete fourier transform"

Instead of searching for "Reverse" DFT look for "Inverse" DFT - See this Google Search[^]
 
Share this answer
 
Comments
Member 15394328 22-Oct-21 10:28am    
I have searched numerous C# variations (DFT, FFT, Reverse, Inverse) for about a week ... looked at many sites. There are many Forwards, but no Reverse or Inverse.
CHill60 22-Oct-21 11:46am    
Really? How come I'm finding them then?
Fourier Transform in Digital Signal Processing[^]
Quote: "Forward and inverse Discrete Fourier Transform implementations are shown below."
Member 15394328 23-Oct-21 7:51am    
I wish I had posted this question last week. It would have saved me a lot of time.

In the Code Project site, I had searched "FFT" => led to 9 pages. I read the descriptions on the first two pages. Then tried "Quick FFT" --- and --- "DSPLib - FFT . DFT Fourier Transform Library for .NET 4".

Ditto for other websites.

Your recommendation has hope!
CHill60 response is correct. The code at

Fourier Transform in Digital Signal Processing[^]

does perform forward and reverse DFT.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900