Extracting data from vector

I have vector NUM = [-1 2 6 9 22 4 23 18] and I want to find all numbers that are greater than 5 and then add them all up. example: the answer is 78

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

标签

提问:

2020-9-16

回答:

2020-9-16

Community Treasure Hunt

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

Start Hunting!

Translated by