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

📄 sinker_ini.m

📁 toolbox of sdt implementation
💻 M
字号:
function  [f,FL,FH] = sinker_ini(Fs,fBL,fBH,Fin,N,SN)
% Initializes the variables for the power spectal density calculation (by A. Fornasari, P. Malcovati)
%
% [f,FL,FH] = sinker_ini(Fs,fBL,fBH,Fin,N,SN)
%
% Fs:			Sampling frequency in Hz
% fBL:			Lower bound of the baseband in Hz
% fBH:			Upper bound of the baseband in Hz
% Fin:			Signal frequency in Hz
% N:			Number of simulation points
% SN:			Identification number of the figure used for plots
%
% f:			Normalized signal frequency (Fin/Fs)
% FL:			Lower bound of the baseband in bins
% FH:			Upper bound of the baseband in bins

f=Fin/Fs;
FL=fBL/Fs*N;
FH=fBH/Fs*N;
clear global vout1;
clear global index;
index =0;

⌨️ 快捷键说明

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