MATLAB中heaviside()函数作用

用MATLAB产生单位阶跃函数
f=sym('heaviside(t)');
ezplot(f,[-1,3]);
其中heaviside函数作用是什么,参数意思是什么?
ezplot()函数参数意思是什么?
菜鸟谢谢你们了!

f=sym('heaviside(t)'); %定义f为heaviside(t)的函数,也就是说 t<0 => f(t)=0; t>0 => f(t)=1
ezplot(f,[-1,3]); %easy plot ,输出f 函数 ,取值范围(-1,3)

matlab多用help,能帮你解决不少问题
温馨提示:答案为网友推荐,仅供参考
第1个回答  2012-03-05
heaviside 是阶跃函数