Difference between revisions of "Component: Math (DSP)"
Line 14: | Line 14: | ||
==Math component== | ==Math component== | ||
Component to combine together two DSP buffers into one an index at a time. Functions include: Add, Average, Difference, Max, Min, Subtract | Component to combine together two DSP buffers into one an index at a time. Functions include: Add, Average, Difference, Max, Min, Subtract | ||
+ | |||
+ | ==Component Pack== | ||
+ | |||
+ | DSP | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 26: | Line 32: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 103: | Line 111: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9-type- | + | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] |
| width="90%" | Connect To A | | width="90%" | Connect To A | ||
|- | |- | ||
− | | colspan="2" | DSP component with output buffer to collect our | + | | colspan="2" | DSP component with output buffer to collect our data from. |
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9-type- | + | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] |
| width="90%" | Connect To B | | width="90%" | Connect To B | ||
|- | |- | ||
− | | colspan="2" | DSP component with output buffer to collect our | + | | colspan="2" | DSP component with output buffer to collect our data from. |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] |
Revision as of 16:18, 7 January 2022
Author | Matrix Ltd |
Version | 1.2 |
Category | DSP |
Contents
Math component
Component to combine together two DSP buffers into one an index at a time. Functions include: Add, Average, Difference, Max, Min, Subtract
Component Pack
DSP
Detailed description
No detailed description exists yet for this component
Examples
Here is a example file which generates a sine wave and a triangle wave and then uses the DSP sum component to merge together the two signals.
DSPSum
Here is the kind of waveform you can expect to see using the scope window when adding the two signals together.
Here is the kind of waveform you can expect to see using the scope window when subtracting the two readings.
Here is the kind of waveform you can expect to see using the scope window when taking the maximum of the two signals.
Here is the kind of waveform you can expect to see using the scope window when taking the minimum of the two signals.
Here is the kind of waveform you can expect to see using the scope window when taking the average between the two signals.
Here is the kind of waveform you can expect to see using the scope window when taking the difference between the two signals.
Downloadable macro reference
![]() |
Calculate |
Performs a single calculation on the two input buffers and provides a result into the output buffer | |
![]() |
Return |
![]() |
CalculateArray |
Performs a single calculation on the two input buffers and provides a result into the output buffer | |
![]() |
Return |