admin管理员组文章数量:1406942
The rpmfreqmap
function in matlab has an input option res
for frequency resolution. With the output there is also a frequency resolution option res
. If I specify a frequency resolution of 1 Hz:
[map,freq,rpmOut,time,res]=rpmfreqmap(randn(1,100000),3000,linspace(1,100,100000),1,'OverlapPercent',0);
With this the result will be res=1;
as expected. But the frequency vector is freq(1:4)=[0 0.6665 1.3330 1.9996]
. I would have expected freq(1:4)=[0 1 2 3]
.
Equally with no overlap I would expect the time vector to be time(1:4)=[0.5 1.5 2.5 3.5]
, but it is time(1:4)=[0.7502 2.2505 3.7508 5.2512]
. So the relationship between frequency and time steps is delta_time=1/delta_freq
, but it doesn't align with the specification in res
.
So, how can I derive the frequency step size of the output vector of rpmfreqmap
?
本文标签: fftHow can I calculate the output frequency steps of the rpmfreqmap function in matlabStack Overflow
版权声明:本文标题:fft - How can I calculate the output frequency steps of the rpmfreqmap function in matlab - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744942704a2633587.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论