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

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

[复制链接]

该用户从未签到

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

EDA365欢迎您登录!

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

x
Next let's try a raised cosine (RC) pulse (升余弦)with 30% excess bandwidth.* |$ L" M' H6 `8 V3 H
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...- O' N, n) D) [, B* q% ?7 S7 v( J7 i
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));: k( C2 ]; A1 h7 A9 L- w
Now create an RC pulse by entering the following at the Matlab prompt.: E4 L0 p/ c0 m7 b
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));* g7 _& |& y! m# Q
然后在matlab的提示符下输入rcpulse = rcpuls(.3,[-6:0.01:6]);) _# E  f7 p5 J; q

该用户从未签到

3#
发表于 2022-8-24 17:04 | 只看该作者
可以试试楼上的方法+ R" w! t4 i/ }( j9 L
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

EDA365公众号

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

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

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

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

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