{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

rate_b - g f=0 f for i=1:n f=f(ra(i-x(1*pe(i*ph2(i(1...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% "rate_b" % m-file to perform least-squares regression % x(1)=k; x(2)=Ke % function f=rate_b(x) f global ra pe pea ph2 n
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: g f=0; f for i=1:n f=f+(ra(i)-x(1)*pe(i)*ph2(i)/(1+x(2)*pe(i)))^2; end...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online