2. Suppose that you determine the height of 10 objects by measuring the first, and then stacking the
second on top of the first and measuring their combined height, stacking the third on top of the first two
and measuring their combined height, and so forth.
Write a Matlab script that
(a) randomly assigns heights $m_{true}$ to the objects in the range of 0-1 m
(b) builds the appropriate data kernel G
(c) creates synthetic observed data $d_{obs} = Gm$
(d) solves for m using $pinv()$ and compare with $m_{true}$