Beruflich Dokumente
Kultur Dokumente
Lecture-6
Redetermining the normal equation for every new model is tedious and cumbersome. A generalised method
allows us to perform least-squares linear regression much more efficiently.
If we have a data set that consists of m(x, y) pairs, then using equation (1) we can write,
1 1 (1 ) (1 ) 0 1
1 1 (2 ) (2 ) 2
A=[ ], C =[ 1 ], Y=[ ]
1 1 ( ) ( ) 3
||r||2 = rTr = ( ) ( )
Now,
CTATA = YTA
(CTATA) = (YTA)
ATAC = ATY
1
C = (ATA)-1 ATY
In MATLAB, >>(A*A)\(A*Y)
- Hemoglobin (Hb) is a protein present in blood cells that transports oxygen from lungs to tissues.
- Hb is a tetramer and consists of two -units and two -units.
- Each unit can bind to one oxygen molecule.
- The exchange of O2 and CO2 between the lungs and tissues via blood occurs due to difference in
partial pressure of pO2 and pCO2.
- pO2 in inspired air 158 Hg
pO2 in lungs 100 Hg
pO2 in veinous blood 40 Hg
- Oxygen binds with Hb to form oxyhemoglobin.
- The oxygenated blood travels to various parts of the body and releases oxygen from Hb.
The Hills equation describes a mathematical relationship between extent of oxygen saturation of Hb and
the partial pressure of O2 in blood.
Hb(O2)n Hb + O2
[(2 ) ] (2 )
= [( =
(1)
2 ) ]+[] 50 +(2 )
The partial pressure of oxygen that results in 50% occupancy of Hb is denoted as 50 .
Data for tetrameric bovine haemoglobin binding to oxygen are given in the table below:
(2 )
= ln ( ) = ln (2 ) ln 50
1 50 1
Substituting ln (1) as ; ln (2 ) as ; as 1 and ln 50 as 0,
Y = 0+1
2
In MATLAB,
x=log (2 )
S=[0.18;0.40;0.65;0.80;0.87;0.92;0.94;0.95;0.95;0.96;0.96;0.97]
Y=log (S/(1-S))
1 1 1
1 2
A=[ ]; C=[ 0 ]; Y=[ 2 ]
1
1 12 12
In MATLAB,
A=[ones(size(X))x]