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

  Write a program in php and javascript

In PHP and Javascript, when the given function has verified that all of the necessary field have been filled, a cookie is added to the user's computer.

  Design c++ program with 4 classes called a,b,c and d

Write down a C++ program with 4 classes called A,B,C and D. D should inherit C, C should inherit B and B should inherit A. All classes should have 1 data member of type int, 1 constructor and 1 function called print.

  Pros and cons of application software in business

Operating system software for your personal PC: define What are the differences among Windows OSs

  Define advantages and disadvantages of wireless networks

I want assitance with question A and question B. Question C has to be in great detail where I can use a a guide to form a comprehensive report. please pr reference will greatly be appreciated.

  What condition is it appropriate to buy commercial

Under what condition is it appropriate to develop software in house and Why? Under what circumstances is it appropriate to commission development of custom software? Why? Under what circumstance is it appropriate to buy commercial or COTS software..

  What do you know about operator precedence

what do you know about operator precedence.

  What personnel implications are when setting up a wan

What personnel implications are when setting up a wan? You are hired by a firm that has offices in Peru, France, the United States, and Hungary. Your job is to coordinate a team of IT workers to connect all of individual sites into one large WAN.

  Make a java application that accepts a positive integer

make a Java application that accepts a positive integer n > 1 as a command line parameter and outputs all strictly increasing integer sequences starting with 1 and ending with n.

  Structured query language

Structured Query Language (SQL) refers to the accepted non-procedural language used in order to communicate with all the relational databases.

  Declare three variables as integer

Log in to the Linux system as a user, and then open a Terminal emulation window.

  Detecting the malicious software

Consider the following fragment within an authentication program: username = read_username(); password = read_password(); if username is “l33t h4ck0r”.

  Illustrate decryption equation

Illustrate decryption equation.

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