Extracting elements from result array

This is the code I used after the code for the dropdown list that I created.
if all(ismember(result,[ 1 7 10]))
Is it possible to write first_salt = result(1,3) or someting like that and then send first_salt as an input to a function?
Or how can I write if I want to refer to the first element from the result array.

回答(0 个)

类别

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

提问:

2020-12-16

Community Treasure Hunt

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

Start Hunting!

Translated by