MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   【求助】请问matlb中怎么画拉普拉斯反变化图? (https://www.labfans.com/bbs/showthread.php?t=71)

gaotjin 2007-04-18 21:26

【求助】请问matlb中怎么画拉普拉斯反变化图?
 
想用matlab画一个二阶振荡电路的单位阶跃响应图
程序如下:
>>syms s;%定义符号变量s
>>ezplot(ilaplace(1/s/(0.5*s+1)),[0 5])
%画t在[0 5]之间的单位阶跃响应图
但一直报错,请问大虾们应该怎么改啊?

fzk2007 2007-04-18 22:02

后面少个逗号哈,小虾
 
syms s;%定义符号变量s
ezplot(ilaplace(1/s/(0.5*s+1)),[0,5])

多多用用help:)
[B]help ezplot[/B]
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


所有时间均为北京时间。现在的时间是 08:53

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.