Which physiological metric is measured by ballistocardiography under a mattress?. Answer: Heart rate (and cardiac output).