Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2007-04-18
帖子: 1
声望力: 0 ![]() |
![]()
想用matlab画一个二阶振荡电路的单位阶跃响应图
程序如下: >>syms s;%定义符号变量s >>ezplot(ilaplace(1/s/(0.5*s+1)),[0 5]) %画t在[0 5]之间的单位阶跃响应图 但一直报错,请问大虾们应该怎么改啊? |
![]() |
![]() |
![]() |
#2 |
初级会员
注册日期: 2007-04-06
帖子: 13
声望力: 19 ![]() |
![]()
syms s;%定义符号变量s
ezplot(ilaplace(1/s/(0.5*s+1)),[0,5]) 多多用用help ![]() help ezplot EZPLOT Easy to use function plotter. EZPLOT(f) plots the expression f = f(x) over the default domain -2*pi < x < 2*pi. EZPLOT(f, [a,b]) plots f = f(x) over a < x < b |
![]() |
![]() |