how to sum vector with simulink sum block

80 visualizaciones (últimos 30 días)
Valeria Leto
Valeria Leto el 1 de Mzo. de 2021
Respondida: Fangjun Jiang el 1 de Mzo. de 2021
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!

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 1 de Mzo. de 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.

Más respuestas (0)

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by