How to find a specific number in an array and test it according to criteria?

2 visualizzazioni (ultimi 30 giorni)
Say that I am given a table with temperature, pressure, and humidity an engine operates in. How would I go about finding the digit representing humidity in the array for one of the engines and test if it meets specific criteria to function? Ex.:
A = [116,45,110];
the criteria is that the temo. must be in between 115-125 F and the first digit is temperature. How would you test that? Thank You!
  1 Commento
madhan ravi
madhan ravi il 25 Feb 2019
Modificato: madhan ravi il 25 Feb 2019
Your last dexcription is not clear.Illustrate with a small example by attaching your table.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Testing Frameworks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by