Use Matlab to create a code for the following ;                                                                                                           The image attached describes the correlation between the height and the weight of a person and how this could be related to define Body Mass Index. The formula used to calculate the BMI = W / H^2 (kg/m2), where W is the weight in kg and H is the height in meters. Use this formula to plot the  graph                                                                             For the four colour curves use the line width ‘3’. To display a BMI of a person use the following: circular MarkerSize ‘8’, MarkerEdgeColor ‘black’, and MarkerFaceColor ‘cyan’. To display this you have to enter two values. These are the Height in meters and Weight in kgs. And inform the outcome result to the person from the command window

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter6: System Integration And Performance
Section: Chapter Questions
Problem 2PE
icon
Related questions
Question

Use Matlab to create a code for the following ;                                                                                                           The image attached describes the correlation between the height and
the weight of a person and how this could be related to define Body Mass Index.

The formula used to calculate the BMI = W / H^2 (kg/m2), where W is the weight in kg
and H is the height in meters. Use this formula to plot the  graph                                                                             For the four colour curves use the line width ‘3’. To display a BMI of a person use the
following: circular MarkerSize ‘8’, MarkerEdgeColor ‘black’, and MarkerFaceColor
‘cyan’. To display this you have to enter two values. These are the Height in meters
and Weight in kgs. And inform the outcome result to the person from the command
window                                                                                     

Weight (kgs)
Height(m)
1.4
1.4
1.5
1.5
1.5
1.5
1.6
1.6
1.6
1.7
1.7
1.7
1.7
1.8
1.8
1.8
41
20
20
19
18
18
17
2.1
2.1
17
16
16
15
15
14
14
45
2.0 10
2.0 10
2.1
10
Underweight
NNN82999662999
21
20
20
18
18
17
17
16
16
15
12
1.9 12
1.9
11
1.9 11
12
2.0 11 12
2.0
10
12
15
50
13
13
11
11
11
9 10
9 10
17
13
16
13 14 16
13
14
15
1.8 12
14
1.9
13)
25
24
23
22
21
21
20
99996
19
19
18
18
17
54
27
26
25
12
11
24
23
23
22
21
21
20
19
19
18
18
17
17
59
Healthy
29
28
27
26
64
31
34
30
32
29
31
28
30
25
27
29
25 26 28
27
27
26
25
24
26
23 25
22
22
20
19
18827588
24
23
21 23
20 22
22
22
21
16 18 19 20
18
19 20
18 20
15
15 16 17
14 15
17
14
13
15 16 17 18
13 14 15 17 18
13
14 15
16 17
00000
18
68 73 77 82
15 16 18
12
15 16
14
12 13 14
15
12 13 14 15
13
14
15
12 13 14
20
19
19
17
16
1999
16
36
3388588888
16
31
30
32 34 36
33 35
34
29
28
55899999999
21
21
20
27 29
27 28
24 26 27
24 25 27
23
24
24
23
22 24 25 27
22 23 24
19
19
18
18
17
88888888886
17
Overweight
38 41
43 45
37 39 41 43
42
41
39
38
33
37
32
35
31 33 34
30
32
33
15 16
36 38 40
38
32
31
30
22 24
22 23
21 23
21 22
20 21
20 21
20
86
899995
19
19 20
19
PERSE
18
37
29
28
26 27
25 27 28 30
24 26 27 29
18
36
35
34
91 95 100 104 109 113 118 122 127 132
23 24
26
23 24 25
22 23 24
21 23 24
23
23
19
20 21
22
17 18 19 20 21
Obese
47
45
44
Extremely Obese
56 58 60 63
58
61
54 56
52 54
56 59
54 57
50 53
49 51
53
55
47
49
51
53
46
48
49
51
44
46 48
50
43
45
46 48
41 43
45
47
42
43
45
40
39
41 42
44
36
34
33
31 33
38 40 41
43
41
34
38
35 37
40
33 34 36 37 39 40
32 33 35 36
38 39
32
31
30
29
31 33
34 35
37 38
30 32
33 34
36
37
28 30 31 32 33
35
36
28
29 30
31 33
34 35
30 32
31 32 34
30 31
33
29 30 32
30
28 29
26 27 28
25 26 28
24 26 27
24 25
26
21 22
20 21
42
41
40
38
40
37
39
36
38
35 37
49
48
51
50
48
46
45
43
42
54
50
50
46
49
45 47
43 45
42 44
43
41
39 41
38 40
37 39
36 38
35 37
28 29
27 28
27 28
27
26
25
26 27
25
24
24 25 26
25 26
23 24 25
22 23 25
30 31
29 30
28 29
27 29
27 28
26 27
26 27
65
63
61
59
57
55
53
52
50
48
47
46
44
43
42
41
39
38
37
36
35
34
34
33 34
32 33
31 32
30 32
33
29
31
32
29 30 31
28 29
28 29
30
30
Transcribed Image Text:Weight (kgs) Height(m) 1.4 1.4 1.5 1.5 1.5 1.5 1.6 1.6 1.6 1.7 1.7 1.7 1.7 1.8 1.8 1.8 41 20 20 19 18 18 17 2.1 2.1 17 16 16 15 15 14 14 45 2.0 10 2.0 10 2.1 10 Underweight NNN82999662999 21 20 20 18 18 17 17 16 16 15 12 1.9 12 1.9 11 1.9 11 12 2.0 11 12 2.0 10 12 15 50 13 13 11 11 11 9 10 9 10 17 13 16 13 14 16 13 14 15 1.8 12 14 1.9 13) 25 24 23 22 21 21 20 99996 19 19 18 18 17 54 27 26 25 12 11 24 23 23 22 21 21 20 19 19 18 18 17 17 59 Healthy 29 28 27 26 64 31 34 30 32 29 31 28 30 25 27 29 25 26 28 27 27 26 25 24 26 23 25 22 22 20 19 18827588 24 23 21 23 20 22 22 22 21 16 18 19 20 18 19 20 18 20 15 15 16 17 14 15 17 14 13 15 16 17 18 13 14 15 17 18 13 14 15 16 17 00000 18 68 73 77 82 15 16 18 12 15 16 14 12 13 14 15 12 13 14 15 13 14 15 12 13 14 20 19 19 17 16 1999 16 36 3388588888 16 31 30 32 34 36 33 35 34 29 28 55899999999 21 21 20 27 29 27 28 24 26 27 24 25 27 23 24 24 23 22 24 25 27 22 23 24 19 19 18 18 17 88888888886 17 Overweight 38 41 43 45 37 39 41 43 42 41 39 38 33 37 32 35 31 33 34 30 32 33 15 16 36 38 40 38 32 31 30 22 24 22 23 21 23 21 22 20 21 20 21 20 86 899995 19 19 20 19 PERSE 18 37 29 28 26 27 25 27 28 30 24 26 27 29 18 36 35 34 91 95 100 104 109 113 118 122 127 132 23 24 26 23 24 25 22 23 24 21 23 24 23 23 19 20 21 22 17 18 19 20 21 Obese 47 45 44 Extremely Obese 56 58 60 63 58 61 54 56 52 54 56 59 54 57 50 53 49 51 53 55 47 49 51 53 46 48 49 51 44 46 48 50 43 45 46 48 41 43 45 47 42 43 45 40 39 41 42 44 36 34 33 31 33 38 40 41 43 41 34 38 35 37 40 33 34 36 37 39 40 32 33 35 36 38 39 32 31 30 29 31 33 34 35 37 38 30 32 33 34 36 37 28 30 31 32 33 35 36 28 29 30 31 33 34 35 30 32 31 32 34 30 31 33 29 30 32 30 28 29 26 27 28 25 26 28 24 26 27 24 25 26 21 22 20 21 42 41 40 38 40 37 39 36 38 35 37 49 48 51 50 48 46 45 43 42 54 50 50 46 49 45 47 43 45 42 44 43 41 39 41 38 40 37 39 36 38 35 37 28 29 27 28 27 28 27 26 25 26 27 25 24 24 25 26 25 26 23 24 25 22 23 25 30 31 29 30 28 29 27 29 27 28 26 27 26 27 65 63 61 59 57 55 53 52 50 48 47 46 44 43 42 41 39 38 37 36 35 34 34 33 34 32 33 31 32 30 32 33 29 31 32 29 30 31 28 29 28 29 30 30
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Research
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning