help plz mathlab write a script that will take the temperature column from the m
ID: 3681350 • Letter: H
Question
help plz mathlab
Explanation / Answer
I have written a simple matlab script for the same. It takes an input array hot_tub and checks for the temperature for the array values.
working script:
for i=1:N
if hot_tub(i)<100
disp("Temperature is below 100");
else if hot_tub(i)<107
disp("Temperature is in between 100 and 106");
else
disp("Temperature is above 106");
end
end
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.