DFT in C++

Joined
Nov 1, 2009
Messages
2
Reaction score
0
Hi guys,
I need some help to convert a signal from time domain (i.e. a sampled waveform) and perform a DFT on it in frequency domain to see its amplitude spectrum using C++.
The number of samples must be within the range 8 to 1000 and needs to be stored in a real array x[1000].
Could you please help me writhe the c program code for this task? Please.
Thanks everyone.
 
Joined
Nov 1, 2009
Messages
2
Reaction score
0
By the way guys. I would like to know as well how do I print the output of the signal for:
A Sinusoid
A Squarewave
A waveform consisting of the addition of 3 sinusoids

Thanks once again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top