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

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

[复制链接]

该用户从未签到

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

EDA365欢迎您登录!

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

x
Next let's try a raised cosine (RC) pulse (升余弦)with 30% excess bandwidth.% I  s6 N! k% K- b2 |- G; I
Copy 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...
9 a! z2 k9 Y) U" C. t: J  Cfunction 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: m4 s+ h0 v4 ?
Now create an RC pulse by entering the following at the Matlab prompt.
( s4 x4 P: O6 r0 wrcpulse = 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));
+ a  i5 L# l# s0 F  R然后在matlab的提示符下输入rcpulse = rcpuls(.3,[-6:0.01:6]);0 s0 i* n# X% S

该用户从未签到

3#
发表于 2022-8-24 17:04 | 只看该作者
可以试试楼上的方法8 K  g( ?7 g1 {: m' v% p
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

EDA365公众号

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

GMT+8, 2025-6-28 12:10 , Processed in 0.062500 second(s), 23 queries , Gzip On.

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

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

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