how to sum vector with simulink sum block

79 visualizzazioni (ultimi 30 giorni)
Hi! I would like to sum the fisrt element of a vector with the first one of another one and so on with the simulik sum block. How can I do it? Thanks!

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 1 Mar 2021
Just use the good old Sum block. Give one Constant block, specify value as [1 2 3] and another Constant block [10 20 33], Sum together, use Display block to show the output.

Più risposte (0)

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by