#### Saad Muftah

##### Junior Member level 1

I am trying to do matlab code to calculate the real and imaginary values of fundamental frequency sine wave by discrete fourier transform for one period of 16 sample. And i reached a dead end, the code that i used or in other word the when i was implementing the equation of fourier transform i didn't get the right answer. for example if i enter 5sin(377*t), and calculate the real and imaginary value give a strange numbers such as 26.

Please help me guys, if some one can help me.

Many thanks,

Smuftahndi@gmail.com