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

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

[复制链接]

该用户从未签到

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

EDA365欢迎您登录!

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

x
Next let's try a raised cosine (RC) pulse (升余弦)with 30% excess bandwidth.
' }/ `5 B4 L: K+ WCopy 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...
& q1 ?- k6 _9 b2 `) xfunction 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));
" H5 s4 ?+ s" u; D* iNow create an RC pulse by entering the following at the Matlab prompt.- v+ Y, |; r: Q( c* I* j
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));' B2 J) k! E# A* T% M
然后在matlab的提示符下输入rcpulse = rcpuls(.3,[-6:0.01:6]);; K! m6 A" T3 o( f: X

该用户从未签到

3#
发表于 2022-8-24 17:04 | 只看该作者
可以试试楼上的方法$ D: M1 U+ r" T/ Q4 B, V
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

EDA365公众号

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

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

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

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

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