Please find my attempt to manually calculate the dft of the Hann function.
I have built a model in MATLAB  Simulink in order to verify the results and included them in the attachment. As you can see the is a substantial difference ?
Apparently the amplitude at zero frequency/dc should be 1v, 1w, 0dB or 30dBw.
I cannot understand this as the HANN function in the time domain, clearly produces a dc amplitude of 0.5v, 0.25w, 6dB or 24dBw.
Any help at all would be very welcome.
I can email the original spreadsheet to help with the calculations.
Regards, Derek
I have built a model in MATLAB  Simulink in order to verify the results and included them in the attachment. As you can see the is a substantial difference ?
Apparently the amplitude at zero frequency/dc should be 1v, 1w, 0dB or 30dBw.
I cannot understand this as the HANN function in the time domain, clearly produces a dc amplitude of 0.5v, 0.25w, 6dB or 24dBw.
Any help at all would be very welcome.
I can email the original spreadsheet to help with the calculations.
Regards, Derek
Attachments

84.4 KB Views: 8

19.7 KB Views: 2

246.7 KB Views: 6