how to sum vector with simulink sum block

조회 수: 82 (최근 30일)
Valeria Leto
Valeria Leto 2021년 3월 1일
답변: Fangjun Jiang 2021년 3월 1일
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!

채택된 답변

Fangjun Jiang
Fangjun Jiang 2021년 3월 1일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by