chirp(signal)
chirp()所属R语言包:signal
A chirp signal
线性调频信号
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Generate a chirp signal. A chirp signal is a frequency swept cosine wave.
生成的线性调频脉冲信号。线性调频信号是的频率横扫余弦波。
用法----------Usage----------
chirp(t, f0 = 0, t1 = 1, f1 = 100,
form = c("linear", "quadratic", "logarithmic"), phase = 0)
参数----------Arguments----------
参数:t
array of times at which to evaluate the chirp signal.
阵列的次数,以评估线性调频信号。
参数:f0
frequency at time t=0.
在时间t = 0的频率。
参数:t1
time, s.
时间,s。
参数:f1
frequency at time t=t1.
频率在时间t = t1时。
参数:form
shape of frequency sweep, one of "linear", "quadratic", or "logarithmic".
形状的频率扫描,"linear","quadratic"或"logarithmic"。
参数:phase
phase shift at t=0.
在t = 0的相移。
Details
详细信息----------Details----------
'linear' is:
'linear'是:
'quadratic' is:
'quadratic'是:
'logarithmic' is:
'logarithmic'是:
值----------Value----------
Chirp signal, an array the same length as t.
线性调频脉冲信号,一个阵列的长度相同t。
(作者)----------Author(s)----------
Original Octave version by Paul Kienzle.
Conversion to R by Tom Short.
参考文献----------References----------
参见----------See Also----------
specgram
specgram
实例----------Examples----------
ch <- chirp(seq(0, 0.6, len=5000))
plot(ch, type = "l")
# Shows a quadratic chirp of 400 Hz at t=0 and 100 Hz at t=10[显示二次啁啾t = 0时为400 Hz和100 Hz,在t = 10]
# Time goes from -2 to 15 seconds.[时间从-2到15秒。]
specgram(chirp(seq(-2, 15, by=0.001), 400, 10, 100, "quadratic"))
# Shows a logarithmic chirp of 200 Hz at t=0 and 500 Hz at t=2[显示对数啁啾t = 0时为200 Hz和500 Hz,在t = 2]
# Time goes from 0 to 5 seconds at 8000 Hz.[从0到5秒时间的推移,在8000赫兹。]
specgram(chirp(seq(0, 5, by=1/8000), 200, 2, 500, "logarithmic"))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|