if statement with condition to perform a such a task

1 Ansicht (letzte 30 Tage)
mohammed alany
mohammed alany am 15 Apr. 2019
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

Antworten (0)

Kategorien

Mehr zu Fluid Dynamics finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by