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

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

[复制链接]

该用户从未签到

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

EDA365欢迎您登录!

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

x
Next let's try a raised cosine (RC) pulse (升余弦)with 30% excess bandwidth.
7 d0 ~. a. k  N: {" fCopy 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...$ k) d3 ~5 {( ~. q
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));
/ u& h$ Z& u% m6 [Now create an RC pulse by entering the following at the Matlab prompt.
' i1 U. ]- u4 T" ~rcpulse = 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));5 E  C4 G: R. i$ m8 W, f
然后在matlab的提示符下输入rcpulse = rcpuls(.3,[-6:0.01:6]);4 o, Q  {' F, w; G. Z) M) N

该用户从未签到

3#
发表于 2022-8-24 17:04 | 只看该作者
可以试试楼上的方法+ [2 ?# D1 G# o* @& k
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

EDA365公众号

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

GMT+8, 2025-11-2 14:59 , Processed in 0.140625 second(s), 24 queries , Gzip On.

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

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

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