if statement with condition to perform a such a task

1 回表示 (過去 30 日間)
mohammed alany
mohammed alany 2019 年 4 月 15 日
i am reding data from the sensor and the output of the sensor equal either 3 6, or 1 4.
And i have already the matrix A below
A= [ 3 6;
1 4]
what i want that??
if the output of the sensor is 3 6
>>update
then continue
if the output of the sensor is 14
>>update
then continue
can you write me a code for this problem please

回答 (0 件)

カテゴリ

Help Center および File ExchangeElementary Math についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by