Is it possible to approximate the step function?
f(x)=\begin{cases} 0 \quad\text{ if }x\le 0\\ 1\quad \text{otherwise} \end{cases}
I want to implement it by polynomial approximation.
Is it possible to approximate the step function?
f(x)=\begin{cases} 0 \quad\text{ if }x\le 0\\ 1\quad \text{otherwise} \end{cases}
I want to implement it by polynomial approximation.