Lab 3 - LAB 3 Name: _Ryan_Corley_ Examples from Lab 3...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
LAB 3 Name: ___Ryan _Corley ____ Sec_4 _ Examples from Lab 3 Module Table 1 Time (hr) Numberof cells in the dish 0 450 2 830 4 1650 6 4210 8 10600 a) Create a matrix for the data in Table 1. clear b=450 b = 450 data=[0,450;2,830;4,1650;6,4210;8,10600] data = 0 450 2 830 4 1650 6 4210 8 10600 b) Compute slopes of your data points. first_x = data(1,1) % first x-value first_y = data(1,2) % first y-value all_x = data(:,1) % first column, which is all x-values all_y = data(:,2) % second column, which is all y-values first_x = 0 first_y = 450 all_x = 0 2 4 6 8
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
all_y = 450 830 1650 4210 10600 change_in_y = diff(all_y) change_in_x = diff(all_x) slopes = change_in_y./change_in_x change_in_y = 380 820 2560 6390 change_in_x = 2 2 2 2 slopes = 190 410 1280 3195 c) Compute ratios of your data points. change_in_log_y = diff(log(all_y)); ratios = change_in_log_y./change_in_x ratios = 0.3061 0.3436 0.4683 0.4617 d) Compute the mean of the ratios and create a model for the data in Table 1. k = mean(ratios)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

Lab 3 - LAB 3 Name: _Ryan_Corley_ Examples from Lab 3...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online