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

📄 jitteredsinewave.m

📁 toolbox of sdt implementation
💻 M
字号:
function out = jitteredSinewave(time,Amplitude,Bias,Freq,Phase,SampJ)
% Generates a sine wave with sampling jitter, the derivative of the signal is
% analytically calculated (by A. Fornasari, P. Malcovati)
%
% out = jitteredSinewave(time,Amplitude,Bias,Freq,Phase,SampJ)
%
% time:			Current time
% Amplitude:	Amplitude of the sinusoid
% Bias:			DC value of the sinusoid
% Freq:			Frequency of the sinusoid in rad/s
% Phase:		Initial phase of the sinusoid in rad
% SampJ:		Stadard deviation of the sampling jitter in s
%
% out:			Jittered sinewave

out=Bias+Amplitude*sin(Freq*time+Phase)+Freq*Amplitude*cos(Freq*time+Phase)*SampJ*randn;

⌨️ 快捷键说明

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