MATLAB提供狄拉克德尔塔函数(Dirac dellta function)的具体命令为dirac( )。dirac(x)的返回值为:当x不等于0时dellta(x)返回值为0,当x等于0时dellta(x)返回值为无穷inf。