Find out p50 in mmhg

Assignment Help Computer Engineering
Reference no: EM1333184

How do I convert back to find P50 in mmHg and n given the best-fit?

function po2()
%This function tests the linearty of tetrameric bovine hemoglobin binding
%to oxygen as a possible blood substitute for monomeric hemoglobin. An
%oxygen dissociation curve is created, and a linear regression is performed
%on the experimental data using the built in Matlab function, polyfit. A
%best-fit model is plotted with the data to show that linearty exists.

% this is the data provided
pO2 = [ 10 20 30 40 50 60 70 80 90 100 110 120 ] ;
Y = [0.18 0.4 0.65 0.8 0.87 0.92 0.94 0.95 0.95 0.96 0.96 0.97 ] ;

% Test the linearity according to Henry's Law and the Hill equation
%ln(Y/(1-Y)) = n*ln(pO2)+n*ln(P50) which captures the sigmoidal shape of
%the oxygen dissociation curve

x = log(pO2) ;
yy = log( Y ./(1-Y) ) ;

p = polyfit( x, yy, 1) ;

fitted = p(1) * x + p(2) ; %define equation for best-fit line

subplot(1,2,1) ;
hold ;
plot(pO2, Y, 'o', 'LineWidth',2) ;
hold ;
legend('Oxygen Dissociation Curve') ;
xlabel('pO2 in mmHg', 'FontSize', 12, 'FontWeight', 'bold') ;
ylabel('Fraction of Hb Saturation in %', 'FontSize', 12, 'FontWeight', 'bold') ;

subplot(1,2,2) ;
hold ;
plot( x, yy, 'o', 'LineWidth', 2) ; % here plot the provided data
plot( x, fitted, ':', 'LineWidth', 2) ; % here plot the linear fit
xlabel('log(pO2) in mmHg', 'FontSize',12, 'FontWeight','bold') ;
ylabel('log(Y /(1-Y))in % Saturation', 'FontSize',12, 'FontWeight','bold') ;
legend('Linear Regression of Oxygen Dissociation Curve', 'Fitted line', 2) ;
hold ;

Reference no: EM1333184

Questions Cloud

Stock valuation of hewlett-packard stock using of capm : Using the required rate of return calculated in part (a) and the Discounted Cash Flow Model, compute the intrinsic value of a share of Hewlett-Packard Stock. What assumptions, if any, was it necessary to make?
Team function and listening form of communication : Business Management: Team function, listening form of communication - Based on the description above what skills can you share with us regarding achieving effective communication.
Reviewing different articles : Oral Immunotherapy Shows Promise for Children with Egg Allergy.Overweight and obese diabetics less likely to die
Illustrtae what is the growth rate of its real gdp : Assume an economy's real GDP is $30,000 in year 1 and $31,200 in year 2. Illustrtae what is the growth rate of its real GDP.
Find out p50 in mmhg : on the experimental data using built in Matlab function, polyfit. A
Explain what is the most important thing in doing e-commerce : Explain What is the most important thing in doing E-commerce business
Explain the methods used by latan and his colleagues : Explain the methods used and results obtained by Latan and his colleagues in their study of  pseudogroups, groups, & social loafing.
Describe how important is hr to employee relations : Importance of Human Resource Dept. and Employee Relations - Explain How important is HR to employee relations? Why not just have managers run the show and outsource everything else?
Capacity constraint measured in terms of production time : Which product makes the largest contribution to company profit, given a capacity constraint measured in terms of production time?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Bus collision avoidance protocol

Before effective Ethernet switching existed, some network designers are used an alternative bus collision avoidance protocol termed as the token bus protocol.

  What is a best way to address issues

What is the best way to address issues and concerns in a Real network management system (NMS) as it pertains to the processes that take place through out network discovery and mapping of the network.

  How to calculate the area of a circle

Develop a software application to calculate the area of a circle. The application must accept only one value (radius) and it must display the result in decimal value.

  Determining the smallest values in dictionary

Explain an efficient method for determining the k smallest values in the dictionary which are greater than low. Your method must take much less than O (n) time whenever k is much less than n. Analyze the time for your method.

  Rea modelling and rea diagrams

REA is an acronym for Entities, Resources, and Agents. REA data modelling does not involve the traditional accounting elements like ledgers, chart of accounts, debits and credits.

  Consider whether there should be a hard

normally , we use normalization techniques a database. using the bowen et al. (2004) article, discuss the disadvantages of normalizing the database to a high degree of normalization.

  Describe different structures and areas within brain

make sure to discuss the location in the brain, their functions, disorders/pathology related to damage to these structures, and other important information in regards to these structures.

  Compute how much federal and state tax you need to pay

Write down a Java application to calculate how much federal and state tax you require to pay. The program should accomplish the following task: ask your name, yearly income, federal tax rate, and state tax rate, and compute the tax you need to pay.

  Build a class hugeinteger which uses a 40-element array

make a class HugeInteger which uses a 40-element array of digits to store integers as large as 40 digits each. Provide methods input, output, add and subtract.

  Validate the input begins with a series of characters

expalin how cookies can be used to store information on a computer and how the information can be retrieved by a PHP program. Assume that cookies are not disabled on the client.

  Generating a class known as point

Generate a class known as Point which has following private members: Float x - x-coordinate of point,,Float y - y-coordinate of point.

  Supply the value of v.size()

Give the value of v.size() after executing each of the following statements: (Be sure to include the code used to execute the statements. One program will be fine to execute all statements, no require to write multiple programs.)

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