Write a user-defined MATLAB function, with two input and two output arguments, that determines the height in centimeters and mass in kilograms of a person from his height in inches and weight in pounds. For the function name and arguments use [cm, kg] = STtoSI (in, lb). The input arguments are the height in inches and weight in pounds, and the output arguments are the height in centimeters and mass in kilograms. Use the function in the Command Window to:
(a) Determine in SI units the height and mass of a 5 ft 8 in. person who weighs 175 lb.
(b) Determine your own height and weight in SI units.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.