Hello Mat

 找回密码
 立即注册
查看: 5431|回复: 0

开环控制-simulink与code

[复制链接]

1294

主题

1520

帖子

110

金钱

管理员

Rank: 9Rank: 9Rank: 9

积分
22633
发表于 2019-5-11 19:44:24 | 显示全部楼层 |阅读模式
开环控制-simulink与code:
simulink模型如下:

code如下:
  1. >> a=1.3
  2. >> b=1.4
  3. >> t0=0;
  4. t=0:1e-5:10;
  5. num=[a];
  6. den=[1 b a];
  7. g=tf(num,den);
  8. u=stepfun(t,t0)*5000;
  9. Y_gj=lsim(g,u,t);
  10. >> plot(Y_gj)
复制代码






本帖子中包含更多资源

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

x
算法QQ  3283892722
群智能算法链接http://halcom.cn/forum.php?mod=forumdisplay&fid=73
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Python|Opencv|MATLAB|Halcom.cn ( 蜀ICP备16027072号 )

GMT+8, 2024-4-24 02:45 , Processed in 0.235226 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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