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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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