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 ExchangeData 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