function bmi = bmi_calculator(hw)
% Convert the height values from inches to meters
height = hw(:,1).*2.54/100
% Convert the weight values from lbs to kilograms
weight = hw(:,2)./2.2
% Calculate the bmi for height and weight combination and return the output variable 'bmi'
bmi = weight/height.^2;
end
can anyone help me here? I am getting this error
Error using assert The condition input argument must be convertible to a scalar logical. Error in Test2 (line 4) assert(all(abs(bmi_calculator(hw) - bmi_correct) < 1e-4))