plot_spec.m
来自「spectral element method」· M 代码 · 共 9 行
M
9 行
function [freq,ff,h]=plot_spec(f,dt)nfft = 2^nextpow2(length(f));ff = fft(f(:),nfft);ff = abs(ff(2:nfft/2+1));freq = [1:nfft/2]' /(nfft*dt) ;h=loglog( freq, ff );xlabel('Frequency')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?