【 MATLAB 】信号处理工具箱之波形产生函数 gauspuls

gauspuls产生高斯调制正弦脉冲(Gaussian-modulated sinusoidal pulse)

语法格式:


yi = gauspuls(t,fc,bw) returns a unity-amplitude Gaussian RF pulse at the times indicated in array t, with a center frequency fc in hertz and a fractional bandwidth bw, which must be greater than 0. The default value for fc is 1000 Hz and for bw is 0.5.

yi = gauspuls(t,fc,bw)在数组t指定的时间内返回一个单位幅度的高斯射频脉冲,中心频率为fc,单位Hz,分数带宽为bw,但必须大于0。fc的默认值为1000Hz,bw为0.5.

这并不能给人一个形象的认知,我们举个小例子看下:

举例子之前还必须了解下这个语法格式,用来产生一个高斯调制射频波的截止时间。

tc = gauspuls('cutoff',fc,bw,bwr,tpe) returns the cutoff time tc (greater than or equal to 0) at which the trailing pulse envelope falls below tpe dB with respect to the peak envelope amplitude. The trailing pulse envelope level tpe must be less than 0, because it indicates a reference level less than the peak (unity) envelope amplitude. The default value for tpe is -60 dB.

tc = gauspuls('cutoff','fc,bw,bwr,tpe)返回截止时间tc(大于或等于0),在该截止时间tc处,尾随脉冲包络相对于峰包络振幅低于tpe dB。 尾随脉冲包络电平tpe必须小于0,因为它表示小于峰值(单位)包络幅度的参考电平。 tpe的默认值为-60 dB。

这时候,我们可以根据要求来写一个例子程序了:

要求是产生一个50KHz的高斯射频脉冲,带宽为60%,时间采样频率为1MHz,对应的时间间隔也就是1us。

在包络线低于峰值40分贝处截断脉冲。

% Plot a 50 kHz Gaussian RF pulse with 60% bandwidth, sampled at a rate of 1 MHz. 
% Truncate the pulse where the envelope falls 40 dB below the peak.

clc
clear
close all

tc = gauspuls('cutoff',50e3,0.6,[],-40); 
t = -tc : 1e-6 : tc; 
yi = gauspuls(t,50e3,0.6); 
plot(t,yi)


其他的语法格式,简单罗列在这里吧。我的理解还不是太深刻,应用到了在补充吧:

yi = gauspuls(t,fc,bw,bwr) returns a unity-amplitude Gaussian RF pulse with a fractional bandwidth of bw as measured at a level of bwr dB with respect to the normalized signal peak. The fractional bandwidth reference level bwr must be less than 0, because it indicates a reference level less than the peak (unity) envelope amplitude. The default value for bwr is -6 dB. Note that the fractional bandwidth is specified in terms of power ratios. This corresponds to the -3 dB point expressed in magnitude ratios.

yi = gauspuls(t,fc,bw,bwr)返回单位幅度高斯RF脉冲,其具有bw的分数带宽,其在相对于归一化信号峰值的bwr dB水平处测量。 分数带宽参考电平bwr必须小于0,因为它表示参考电平小于峰值(单位)包络幅度。 bwr的默认值为-6 dB。 注意,分数带宽是根据功率比指定的。 这对应于以幅度比表示的-3dB点。

[yi,yq] = gauspuls(...) returns both the in-phase and quadrature pulses.

[yi,yq] = gauspuls(...)返回同相脉冲和正交脉冲。

[yi,yq,ye] = gauspuls(...) returns the RF signal envelope.

[yi,yq,ye] = gauspuls(...)返回RF信号包络。

默认值替换为空或省略的尾随输入参数。

 

  • 3
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

李锐博恩

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值