UnitStep
Usage
• UnitStep[x] 表示单位阶跃函数,  时等于0,  等于1。
• UnitStep[ , , ... ] 表示多维单位阶跃函数,仅在所有  都为正时等于1。
Notes
• 当UnitStep出现在项的乘积中时,自动进行一些变换。 • UnitStep提供了一种表示分段连续函数的方便的方式。 • UnitStep 有属性 Orderless. • 对精确量,UnitStep内部使用数值近似计算它的结果。这个过程可以通过设置全局变量$MaxExtraPrecision来进行。
Further Examples
This generates a square wave. Evaluate the cell to see the graphic.
In[1]:=
|
Here is its integral.
In[2]:=
|
Out[2]=
|
This gives a plot of the characteristic function of the unit disk. Evaluate the cell to see the graphic.
In[3]:=
|
|