Hi :)
I'm trying to replicate a protocol contained in the following paper: doi:10.1152/jn.00511.2016
I'd need to measure the median frequency of spontaneous oscillations of the membrane potential. To do so, I would like to calculate the discrete Fourier transform from a recording of spontaneous Vm oscillations and then the median frequency from a first-order interpolation of the cumulative probability of the power-spectral densities from 0.1 to 100 Hz.
I don't know how to perform this kind of calculations in Origin Pro software or Matlab: could you please help me with suggestions? Is there any simple code you know to start from?
Thanks,