找回密码
 注册
关于网站域名变更的通知
查看: 291|回复: 2
打印 上一主题 下一主题

[仿真讨论] 在做一个simulink仿真,请告诉我下面语句是什么意思,改怎么操作?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2022-8-24 15:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您登录!

您需要 登录 才可以下载或查看,没有帐号?注册

x
Next let's try a raised cosine (RC) pulse (升余弦)with 30% excess bandwidth.
) ]' n9 R; D* C$ {: r2 F7 r( b# BCopy the RC Pulse program called "rcpuls" on page 23 of the Anderson text into a file called "rcpuls.m".  Or cut and paste from here...4 b: m" Z- n, p
function y = rcpuls(a,t)tau = 1; % Set the symbol timet = t + 10^(-7); % This avoids dividing by zerotpi = pi/tau; atpi = tpi*a;at = 4*a^2/tau^2;y = sin(tpi*t).*cos(atpi*t)./(tpi*t.*(1-at*t.^2));* W2 Q- s. n5 }7 h8 n  C
Now create an RC pulse by entering the following at the Matlab prompt.
+ k' X  w+ ~9 Srcpulse = rcpuls(.3,[-6:0.01:6]);

该用户从未签到

2#
发表于 2022-8-24 16:26 | 只看该作者
创建个叫“rcpuls.m"的文件,其内容是function y = rcpuls(a,t)tau = 1; % Set the symbol timet = t + 10^(-7); % This avoids dividing by zerotpi = pi/tau; atpi = tpi*a;at = 4*a^2/tau^2;y = sin(tpi*t).*cos(atpi*t)./(tpi*t.*(1-at*t.^2));
8 _9 }+ t7 x3 R然后在matlab的提示符下输入rcpulse = rcpuls(.3,[-6:0.01:6]);* W+ J4 J* N2 B! h- s0 O

该用户从未签到

3#
发表于 2022-8-24 17:04 | 只看该作者
可以试试楼上的方法
' O/ U3 m+ l, _: W7 R- G
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

EDA365公众号

关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

GMT+8, 2025-7-11 13:14 , Processed in 0.109375 second(s), 23 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表