Journal06

Journal06 - concentrations and graphed. In addition, the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Timothy Lin BEE 1510: Introduction to Computer Programming Course Journal Entry: HW06 The important aspect I learned from homework exercise 06 was the use of differential equations and the use of the ODE solver in Matlab. To begin, we were presented with a simplified “compartment model” showing the interactions of insulin concentration between the abdomen, the blood, the kidneys and the pancreas. Between the four different compartments, there were five different rates at which the insulin moved from each compartment to another. Four differential equations were set up in a function file that would keep track of the amount of insulin in each compartment over time. From there, those values were extracted and the ODE45 solver was used over the time period t = 0 and t = 15. The values extracted were changed into
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: concentrations and graphed. In addition, the GUI (Graphical User Interface) panel was set up for a user so that they would be able to enter initial conditions (originally set in the ODE45 solver) and the beginning and end times. Firstly, I thought it was very helpful to utilize the new knowledge of differential equations in Matlab and the ODE solvers. Though at first a bit confusing to use and understand with the compartment model, it began to make complete sense very quickly. Secondly, I thought it was also very useful to be learning how to use GUIs. Though we had previously learned how to create GUI M-files and how to build them, we had never previously done it ourselves and it was a great help and learning experience to get to do that....
View Full Document

This note was uploaded on 09/28/2009 for the course BEE 1510 taught by Professor Staff during the Fall '05 term at Cornell.

Ask a homework question - tutors are online