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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

질문:

2021년 3월 1일

답변:

2021년 3월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by