Square
======
Flips between plus and minus its amplitude.
``square`` · signal · element by element: vectors in, vectors out
.. raw:: html
Squarefn
amplitude1
frequency1
Original
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``t``
- signal
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``y``
- signal
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``amplitude``
- number
- ``1.0``
- —
* - ``frequency``
- number
- ``1.0``
- —