# Homework Solution: PLEASE DO ALL IN MATLAB AND INCLUDE ALL INFORMATION…

PLEASE DO ALL IN MATLAB AND INCLUDE ALL INFORMATION
Home-My Unimelb St., × My Programming Assignme × Assignment 4.pdf × e chegg Study Guided S × C Secure https://app.lms.unimelb.edu.au/bbcswebdav/pid-5834078-dt-content-rid-24294141 2/courses/ENGR10003 2017_SM2/Assignment 4.pdf ::: Apps G Google Login. The Univers i 데 watch Game of Thro Assignment 4.pdf 5 1 7 Question 5 [10 Marks] Biomedical engineers are developing an insulin pump for diabetics. To do this, it is important to understand how insulin is cleared from the body after a ea. The concentration of insulin at any time is described by the equation: C=Ge in minutes, and m is the mass of where Co is the iniial concentration of insulin, t is the t the subject in kg. Write a function, computeInsulinConc, which takes as input, the initial concentration Co, the mass of the subject m in kg, and a vector of time values, t which gives the elapsed time since the of the initial concentration of insulin, and returns the insulation concentration as the time values specified in the vector t The signature of the function is: 9プ 10:47 PM ^恒脈41) 7/09/2017 Type here to search

 Matlab Code

PLEASE DO ALL IN MATLAB AND INCLUDE ALL INFORMATION

Home-My Unimelb St., × My Programming Assignme × Assignment 4.pdf × e chegg Study Guided S × C Secure https://app.lms.unimelb.edu.au/bbcswebdav/pid-5834078-dt-content-rid-24294141 2/courses/ENGR10003 2017_SM2/Assignment 4.pdf ::: Apps G Google Login. The Univers i 데 note Game of Thro Assignment 4.pdf 5 1 7 Question 5 [10 Marks] Biomedical engineers are developing an insulin cross-examine restraint diabetics. To do this, it is essential to perceive how insulin is cleared from the assemblage following a ea. The strain of insulin at any date is picturesque by the equation: C=Ge in minutes, and m is the whole of where Co is the iniial strain of insulin, t is the t the material in kg. Write a part, computeInsulinConc, which takes as input, the moderate strain Co, the whole of the material m in kg, and a vector of date values, t which gives the gone-by date gone the of the moderate strain of insulin, and produce the insulation strain as the date values ascertained in the vector t The attestation of the part is: 9プ 10:47 PM ^恒脈41) 7/09/2017 Type here to search

## Expert Defense

 Matlab Regulation part c = computeInsulinConc(C0, m, t) c = zeros(1, numel(t)); restraint i = 1 : numel(t) c(i) = C0 * exp(-30*t(i)/m); end end

INSTRUCTIONS: Open Matlab type edit computeInsulinConc at order and chance and ok a newlightlight m smooth allure gain created following then delineation paste the overhead regulation into the m smooth and catch. Now end to order and type [c] = ComputeInsulinConc(40, 70, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) to standard the part and chance invade, you allure gain the output.

OUTPUT