Ive ben trying to figure the is problem for a couple of days now but just cant figure how to do it with a sensible solution.
I have an FFT spread but only need to sample out 30 samples of the overall frequency range so for example i am only sampling a spread between 20Hz and 800Hz or so for the available range. this bit is easy.
I then Que the data so i get several bin sizes of 30 samples each of a frequency power spectrum in time, so now i have a great big spread of 1500 made up of 50 bins.
Now for the tricky part, i would like to find the average power spectrum for various bin sizes and display it in a visual form.
So the first line would be the immediate power spectrum (bin 1), the next would be the first average, the average of bins 1 to 5, the next average would be the average of bins 1 to 10 etc and so on…
Can anyone offer any advice, essentially i just want to select several bins in a spread and display the average of that as another spread of 30. it should be simple bit I’m missing something. Little example patch attached!