Extracting elements from result array

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by