Skip to main content
Version: current

Subtraction

Description#

The mathematics block subtraction subtracts input 2 and abover from input 1 into a single output.

MxNMxNMxN

Input#

Each input must be MxN meaning they must have the same size. The y unit for each channel n must also be identical. This is to ensure you cannot add together different non-compatible signals.

Output#

The output is an element-wise subtraction to the first input.

Attributes#

AttributeValue
NameSubtraction
Inputs2

Name#

Name specifies the name of the block.

Inputs#

Inputs specifies the number of inputs the block will add together. The minimum number of inputs is 2.

Examples#

This examples show the subtraction of a step of 1 that starts at 0.5 s to a 5 Hz tone.

ProjectsDockA

ProjectsDockA