Perform linear regression on penicillin clearance

Assignment Help MATLAB Programming
Reference no: EM13927508

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?

Reference no: EM13927508

Questions Cloud

Discuss the meaning of an optimal capital budget : Discuss the meaning of an optimal capital budget. What factors determine the required rate of return for any security? Describe how to derive the break points in the marginal cost of capital schedule.
Develop a new product line : L'Oreal's DIESEL, which is a global, luxury product manufacturer (Fuel for Life, etc.) decided to develop a new product line.  DIESEL wants to offer to the market, for the first time ever, a MEN's product line (fragrance excluded, because it alrea..
Describe details of the deal : 1. Choose one acquisition the company has undertaken during recent history and describe details of the deal.
What is the cost of equity capital for vargo : The current risk-free rate (short-term) is 7.5 percent and the market risk premium is 8.6 percent. What is the cost of equity capital for Vargo?
Perform linear regression on penicillin clearance : Perform linear regression on 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.
Payback period method : If Namerof used the payback period method and could only invest in one machine, which would they choose.  Do you think this would yield the most value for their investment? (Why/why not?)
Overlap of incident and reflected waves : When incident and reflected waves overlap, interference may be (leading to a large wave motion) or (leading to a smaller wave motion).
Alternative investment proposals : 1. Gomez Corporation is considering two alternative investment proposals with the following data:
Should a company''s accounting department be centralized : Why are corporate strategy and competitive strategy separated in diversified companies but not in single-business line companies? Do not define each. Why are they separated?

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Calculate and display the altitude and velocity of rocket

Write a program that will solve the problem specified above( for the rocket). However, lit user of your program is to insert the starting height, and the time the rocket travels.

  Receives one number as an input argument

Write a function per2 that receives one number as an input argument. The function has a persistent variable that sums the values passed to it. Here are the first two time the function is called

  Using matlab draw an open-loop bode diagram and find the

an armature-control dc motor is used in a position control system. the transfer functions of the controller and process

  Biologically inspired method

Biological ly Inspired Methods + Ma tlab Assignmen t,  Define a problem of your choice which can be tackled by Biologically Inspired Methods. The problem must satisfy the following requirements

  Write a gui function that will display sliders

Write a GUI function that will display sliders - The wind chill factor measures how cold it feels with a given air temperature.

  Prompts the user to enter grades in a loop

Define a function that takes two input parameters, a vector of test scores and a scalar passing grade. The function returns the fraction of passing grades as a number in the range

  Obtain the cross products using matlab cross function

Use MATLAB cross function to obtain the above cross products. Note that the accelerations are known functions of the derivatives of the three coordinates.

  Analysis of the changes to the external environment

Analysis of the changes to the external environment that may, or have, influenced the value chain for Australian wine producers over the last six (6) years.

  Find the average value and the power of signal

Find the average value and the power of this signal by integrating 1/T0 v(t) and 1/T0 v2(t) respectively in the time domain, over one period. Your answer must be expressed in terms of fc and Ac only.

  How much time passes from when the wheel was started from

a sharpening stone at rest is brought to 300 rpm over 2 mins. at that point a dull sword edge is placed against the

  What is the minimum snr for a sinusoid in white noise

What is the minimum SNR for a sinusoid in white noise to be detectable using frequency domain techniques (Periodogram and Blackman-Tukey)? Do the results depend on frequency? Compute and plot separate correlation functions of white noise data and of ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd