Research Article
A Feasibility Study on Smart Mattresses to Improve Sleep Quality
Algorithm 2
Automatic adjustment pseudocode.
Input: pm18 10 pressure matrix, body structure proportional distribution list, variance threshold | Output: automatically adjusted pressure matrix | According to pm, the body structure proportion distribution list, determine the approximate position of waist and hip pressure matrix am | While std(am) > | Lift air pocket pressure at waist position | End while | Output the automatically adjusted pressure and draw the picture |
|