矩形関数とは、矩形状の関数。 rect ( x ) {\displaystyle \operatorname {rect} (x)} や ⊓ ( x ) {\displaystyle \sqcap (x)} と表記される。
xy平面上に、矩形関数を y = f ( x ) {\displaystyle y=f(x)} をプロットすると原点付近でy軸上方向に膨らむ矩形が現れる。
f ( x ) = rect ( x ) {\displaystyle f(x)=\operatorname {rect} (x)} についての性質は以下のようである。