MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]请帮帮小弟订正这题的matlab程序 (https://www.labfans.com/bbs/showthread.php?t=3525)

chenyo 2008-06-09 17:37

[求助]请帮帮小弟订正这题的matlab程序
 
2 个附件
各位前辈,请帮帮小弟订正这题的matlab程序

谢谢........

Please polt the function of g(t) and Amp[G(f)] by using the software which you are familiar with.

[SIZE="4"]g(t) = exp(-2t)u(t)

G(f)=1/(2+j2*pi*f)
[/SIZE]

matlab code:

echo on
delta=0.01;
F_min=-2;
F_max=2;
t=F_min:delta:F_max;
g=exp(-2t)u(t);
G=1./(2+j2*pi*f);

上面是错误,但不知道要如何写起,请帮帮小弟,谢谢........

baltaM 2008-06-20 11:47

提示的意思是,使用你所熟悉的绘图软件绘制此函数的图形
程序的第一句为开启响应即为绘图软件导入作好了接口
要修改可以直接去掉第一句然后用plot命令绘图
若不想去掉也可在结尾添加绘图方式命令


所有时间均为北京时间。现在的时间是 12:28

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