how can i get data sampling rate and FFT bin width?
显示 更早的评论
hi, i have N=64 4d- fmri images with size matrix(128,128,64,90) where 90 is the number of time point and a 4d-image captured in T=2s. i want use fft matlab function. how can i calculate sample rate and fft width bin? What is the default value of the parameters fft?
回答(1 个)
dpb
2021-12-19
0 个投票
"What is the default value of the parameters fft?"
None...the fft doesn't care, the sample rate is set solely by the data collection process.
If your images were captured at a uniform rate over a time perioed of 2 sec, then the sample rate would be 90/2 --> 45 Hz.
There's an example of using FFT fo compute a one-sided PSD in the doc for FFT that illustrates the time and frequency calculations.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!