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

📄 t2f.m

📁 这是基于MATLAB的数字调相技术编程,包括对调制解调过程的编程以及其有效性和可靠性分析
💻 M
字号:
function [f,sf]=T2F(t,st)
% this is a function using the FFT function to calculate a signal's fourier
%Translation
%input is the time and the signal vectors,the length of time must greater
% than 2
% output is the frequency and the signal spectrum
dt=t(2)-t(1);
T=t(end);
df=1/T;
N=length(st);

f=-N/2*df:df:N/2*df-df;
sf=fft(st);
sf=T/N*fftshift(sf);

⌨️ 快捷键说明

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