Compute the overall effect using matlab for placebo


The following was measured for the time response of the Minute Ventilation (in liters/minute) for placebo, intravenous morphine, and intrathecal morphine treatments.

Hours

Placebo

Intravenous

Intrathecal

0

38

34

30

1

35

19

23.5

2

42

16

20

4

35.5

16

13.5

6

35

17

10

8

34.5

20

11

10

37.5

24

13

12

41

30

19.5

One method of reporting these results is to compute the "Overall Effect" which is the area under the curve divided by the total time interval (weighted average).

Compute the overall effect using Matlab for placebo, intravenous, and intrathecal morphine treatments using (i) trapezoidal quadrature method and (ii) Simpson's method. The integral should be separated into two different integrals, since from t=0-2 hours the panel width is 1 hour and from 2-12 hours the panel width is 2 hours.

Solution Preview :

Prepared by a verified Expert
Simulation in MATLAB: Compute the overall effect using matlab for placebo
Reference No:- TGS01236113

Now Priced at $40 (50% Discount)

Recommended (91%)

Rated (4.3/5)

A

Anonymous user

2/9/2016 7:38:56 AM

Assignment related to simulation in Matlab is given below. Please respond to the following questions while simulating Matlab. Calculate the total effect by using Matlab for placebo, intravenous, and intrathecal morphine treatments by using (a) trapezoidal quadrature method and (b) Simpson's method. The integral must be separated into two dissimilar integrals, since from t = 0-2 hrs the panel width is 1 hour and from 2-12 hrs the panel width is 2 hrs.