Is there a Simulink block that provides the difference of several signals?

2 views (last 30 days)
For example, I have two signals in the first graph as shown, is there a block that would provide me the difference (so called uniformity) of these two signals and give me the graph encircled? I also want to extend this to five different signals, so basically I need to take the minimum and maximum of the five signals and subtract it to each other to provide me the graph below.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 1 Nov 2017
I don't think there is such a special block. However, it can be done with the Sum block (used as subtraction), MinMax and Scope block.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!