Write a function called freezing that takes a vector of numbers that correspond to daily low temperatures in Fahrenheit. Return numfreeze, the number of days with sub freezing
Please help!
3 is correct for Test 1, but I am going crazy trying to figure out why 5 is incorrect for Test 2.
function numfreeze = freezing(a)
numfreeze = sum(a>=32);
endPlease help!
3 is correct for Test 1, but I am going crazy trying to figure out why 5 is incorrect for Test 2.
function numfreeze = freezing(a)
numfreeze = sum(a>=32);
end Please help!
3 is correct for Test 1, but I am going crazy trying to figure out why 5 is incorrect for Test 2.
function numfreeze = freezing(a)
numfreeze = sum(a>=32);
end logical array MATLAB Answers — New Questions