if statement with condition to perform a such a task

조회 수: 1(최근 30일)
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
then continue
if the output of the sensor is 14
then continue
can you write me a code for this problem please



Find more on Get Started with MATLAB in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by