Computer Science Homework Solutions
Problem
#49820

Matlab model using normal equations model to analyze the body's response to a bolus injection of antibiotic

(See attached file for full problem description)

---
This model is used to analyze the body's response to a bolus injection of this antibiotic:
B(t) = B0e(-k*t)
Using this model, and data provided for the average plasma concentration data in ug/ml with time in hours :
a) perform linear regression on this penicillin clearance using the normal equations
b) plot the concentration data and re-plot the log of the concentration data to show that it appears linear.
c) Determine initial concentration, B0, and elimination rate constant, k

Concentration (ug/ml) Time (min)
89 22
60 44
30 88
15 132
7 176

a) for linear regression
ln( B ) = ln( B0 )- Kt

I'm not sure how to use the normal equations in MATLAB to plot this? We're not supposed to use polyfit function… I think you have to make a 2 column matrix with a column of 1's and a column of the time?
---

(See attached file for full problem description)

Attached file(s):
Attachments
2.2.doc  View File

Attachment Content Summary (Note: view attachment at the above link before purchasing. Actual attachment content may vary slightly from that shown below.)

2.2.doc
This model is used to analyze the body’s response to a bolus injection
of this antibiotic:

B(t) = B0e(-k*t)

Using this model, and data provided for the average plasma concentration
data in ug/ml with time in hours :

perform linear regression on this penicillin clearance using the normal
equations

plot the concentration data and re-plot the log of the concentration
data to show that it appears linear.

Determine initial concentration, B0, and elimination rate constant, k

Concentration (ug/ml) Time (min)

89 22

60 44

30 88

15 132

7 176



a) for linear regression

ln( B ) = ln( B0 )- Kt

I’m not sure how to use the normal equations in MATLAB to plot this?
We’re not supposed to use polyfit function… I think you have to make
a 2 column matrix with a column of 1’s and a column of the time?
Solution
What is this?
By OTA - Overall OTA Rating
Purchase Cost Now
$2.19 CAD (was ~$7.98)
Included in Download
  • Plain text response
  • Attached file(s):
    • bolus.m
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
Browse