why would you need to do that?
40s of data will lead to a higher resolution (1/40 Hz of course). As long as the duration is a multiple of 1s you will always have the information for the full Hz steps too.
thanks for your reply, I would like to have the frequency resolution of 1Hz. My sampling rate is 4096. I have 40s data.But this I am getting df as (1/40).
When I analyse 1 sec data, I get some other frequency as peak and compare to when I analyse 40 s data, why So?
When I analyse 40s data I get one average and same when I do 1 sec.
Is there any way to overlap? I am using hanning window.
it seems you really should learn basics of FFT analysis!
There's a relation between sampling rate, block size and frequency resolution...