⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spec.m

📁 工程计算MATLAB code to calculate the reorthogonalized sine tapers input: N = the length of the time se
💻 M
字号:
function [freq, a] = spec(X, N)	%%X = data of length N%%gives frequencies and corresponding spectral estimate%%(modulus squared of fft of the data); frequency from %%[0, 0.5]freq=(0:(N-1))./(2*N);freq=2*freq(1:(round(N/2)));y=fft(X);a=abs(y);a=a.^2;a=a(1:(round(N/2)));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -