📄 matlab file least-squares polynomial approximations.mht
字号:
From: <由 Windows Internet Explorer 7 保存>
Subject: Matlab File: Least-squares polynomial approximations
Date: Thu, 12 Apr 2007 11:50:14 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
type="text/html";
boundary="----=_NextPart_000_00D8_01C77CF8.BBA3B430"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
This is a multi-part message in MIME format.
------=_NextPart_000_00D8_01C77CF8.BBA3B430
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://matlabdb.mathematik.uni-stuttgart.de/download.jsp?MC_ID=3&SC_ID=10&MP_ID=408
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Matlab File: Least-squares polynomial =
approximations</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1"><!-- get access to the database and read data =
--><LINK=20
media=3Dscreen =
href=3D"http://matlabdb.mathematik.uni-stuttgart.de/style.css"=20
type=3Dtext/css rel=3Dstylesheet><!-- include the Matlab Header --><!-- =
Matlab Header --><!-- M. Moench, A.Klimke (Univerit=E4t Stuttgart) Mrz =
2003 -->
<META content=3D"MSHTML 6.00.5730.11" name=3DGENERATOR></HEAD>
<BODY leftMargin=3D2 topMargin=3D2 marginwidth=3D"2" =
marginheight=3D"2"><!-- Header -->
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" bgColor=3D#ffffff =
border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dcenter align=3Dmiddle width=3D15 bgColor=3D#eef1f4><IMG =
height=3D1=20
=
src=3D"http://matlabdb.mathematik.uni-stuttgart.de/images/pixeltrans.gif"=
=20
width=3D15> </TD>
<TD>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =
bgColor=3D#eef1f4=20
border=3D0><TBODY>
<TR>
<TD vAlign=3Dtop noWrap align=3Dleft> <IMG =
height=3D10=20
hspace=3D5=20
=
src=3D"http://matlabdb.mathematik.uni-stuttgart.de/images/homeicon.gif"=20
width=3D9> <A class=3Dblacklink=20
href=3D"http://www.uni-stuttgart.de/">university</A> <IMG =
height=3D10=20
hspace=3D5=20
=
src=3D"http://matlabdb.mathematik.uni-stuttgart.de/images/kontakticon.gif=
"=20
width=3D9> <A class=3Dblacklink=20
=
href=3D"mailto:matlabdb@mathematik.uni-stuttgart.de">contact</A> </TD>
<TD vAlign=3Dtop noWrap align=3Dright width=3D"100%"><A =
class=3Dblacklink=20
href=3D"http://www.uni-stuttgart.de/">Universit=E4t =
Stuttgart </A>=20
</TD>
<TD vAlign=3Dcenter rowSpan=3D2><A=20
href=3D"http://www.uni-stuttgart.de/"><IMG height=3D35 =
hspace=3D5=20
=
src=3D"http://matlabdb.mathematik.uni-stuttgart.de/images/unilogo.gif"=20
width=3D35 align=3Dcenter border=3D0></A> </TD></TR>
<TR>
<TD noWrap=20
=
background=3Dhttp://matlabdb.mathematik.uni-stuttgart.de/images/Filler.jp=
g=20
colSpan=3D2><IMG hspace=3D0=20
=
src=3D"http://matlabdb.mathematik.uni-stuttgart.de/images/Matlab_banner_L=
ogo.jpg"=20
width=3D676 vspace=3D2 border=3D0 heigth=3D"26"> =
</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD vAlign=3Dcenter width=3D15 bgColor=3D#eef1f4><IMG height=3D1=20
=
src=3D"http://matlabdb.mathematik.uni-stuttgart.de/images/pixeltrans.gif"=
=20
width=3D15> </TD>
<TD>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
<TBODY>
<TR>
<TD bgColor=3D#000000>
<TABLE cellSpacing=3D1 cellPadding=3D5 width=3D"100%" =
border=3D0>
<TBODY>
<TR bgColor=3D#ffffff>
<TD width=3D"100%"><!-- insert the LinkBar --><A=20
=
href=3D"http://matlabdb.mathematik.uni-stuttgart.de/index.jsp">Matlab=20
Database</A> > <A=20
=
href=3D"http://matlabdb.mathematik.uni-stuttgart.de/subcategories.jsp?MC_=
ID=3D3">Linear=20
Algebra</A> > <A=20
=
href=3D"http://matlabdb.mathematik.uni-stuttgart.de/files.jsp?MC_ID=3D3&a=
mp;SC_ID=3D10">Least=20
Squares Problems</A> > <B>Least-squares polynomial=20
approximations</B> </TD></TR><!-- main page content =
-->
<TR bgColor=3D#ffffff>
<TD width=3D"100%"><BR>
<TABLE align=3Dcenter>
<TBODY>
<TR>
<TD>
<H3>Matlab =
File(s)</H3></TD></TR></TBODY></TABLE>
<TABLE align=3Dcenter>
<TBODY>
<TR>
<TD vAlign=3Dtop align=3Dleft>
<TABLE cellSpacing=3D0 cellPadding=3D0 =
border=3D0>
<TBODY>
<TR>
<TD bgColor=3D#000000>
<TABLE cellSpacing=3D1 cellPadding=3D3 =
width=3D"100%"=20
border=3D0>
<TBODY>
<TR bgColor=3D#ffffff>
<TD><B>Title:</B></TD>
<TD>Least-squares polynomial =
approximations=20
</TD></TR>
<TR bgColor=3D#ffffff>
<TD><B>Author:</B></TD>
<TD>Alain Kapitho</TD></TR>
<TR bgColor=3D#ffffff>
<TD><B>E-Mail:</B></TD>
<TD><A=20
=
href=3D"mailto:kaps-AT-tuks.co.za">kaps-AT-tuks.co.za</A>=20
</TD></TR>
<TR bgColor=3D#ffffff>
<TD><B>Institution:</B></TD>
<TD><A =
href=3D"http://www.up.ac.za/">University of=20
Pretoria</A> </TD></TR>
<TR bgColor=3D#ffffff>
<TD vAlign=3Dtop><B>Description: =
</B></TD>
<TD>Function least_squares(x, y, m) fits =
a=20
least-squares polynomial of degree m =
through=20
data points given in x-y coordinates. =
the output=20
to the function is a vector c =3D [c0, =
c1, ...,=20
cm] whose components are the =
coefficients of the=20
polynomial. The function can also be =
used in the=20
following sense: least_squares(x, =
log(x), 1) -=20
this will linearize data that obey an=20
exponential curve y =3D b*exp(a*x) and =
the output=20
c =3D [c0, c1] =3D [ln b, a]. Also, =
least_squares(x,=20
1./y, 1) linearizes data that follow a =
model y =3D=20
1/(ax + b). In other words, various =
combinations=20
can be tested to linearize data (m=3D1) =
and from=20
the graph display, we can see which =
combination=20
linarizes data best </TD></TR>
<TR bgColor=3D#ffffff>
<TD><B>Keywords:</B></TD>
<TD>Least-squares, curve fitting =
</TD></TR>
<TR bgColor=3D#ffffff>
<TD><B>File Name: </B></TD>
<TD>least_squares.m</TD></TR>
<TR bgColor=3D#ffffff>
<TD><B>File Size: </B></TD>
<TD>2 KB </TD></TR>
<TR bgColor=3D#ffffff>
<TD><B>File Version: </B></TD>
<TD>1.0</TD></TR>
<TR bgColor=3D#ffffff>
<TD><B>Matlab Version: </B></TD>
<TD>7.0 (R14)</TD></TR>
<TR bgColor=3D#ffffff>
<TD><B>Date: </B></TD>
<TD>2006-01-11</TD></TR>
<TR bgColor=3D#ffffff>
<TD><B>Downloads: </B></TD>
<TD>917</TD></TR>
<TR bgColor=3D#e0e0e0>
<TD align=3Dmiddle colSpan=3D2><A=20
=
href=3D"http://matlabdb.mathematik.uni-stuttgart.de/least_squares.m?MP_ID=
=3D408">Download=20
File</A> </TD></TR><!-- If the file was =
an exercise, here should be a link to download its pdf version --><!-- =
If the file was an exercise, here should be a link to download its =
SOLUTION --></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<TD vAlign=3Dtop></TD></TR></TBODY></TABLE><BR>
<TABLE align=3Dcenter>
<TBODY>
<TR bgColor=3D#ffffff>
<TD><A=20
=
href=3D"http://matlabdb.mathematik.uni-stuttgart.de/promotion.jsp">Upload=
=20
your own files today! Click here for more=20
information.</A>=20
=
</TD></TR></TBODY></TABLE><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY=
></TABLE><!-- include the Matlab Footer --><!-- Matlab Footer --><!-- =
M.Moench, A. Klimke (Univerit=E4t Stuttgart) Mrz 2003 --></TD></TR>
<TR>
<TD colSpan=3D3>
<TABLE height=3D15 cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =
border=3D0>
<TBODY>
<TR>
<TD bgColor=3D#eef1f4><IMG height=3D1=20
=
src=3D"http://matlabdb.mathematik.uni-stuttgart.de/images/pixeltrans.gif"=
=20
width=3D15></TD>
<TD class=3Dfooter vAlign=3Dbottom width=3D"100%"=20
bgColor=3D#eef1f4> =A9 Universit=E4t=20
Stuttgart 2003-2005 | <IMG height=3D10 hspace=3D5=20
=
src=3D"http://matlabdb.mathematik.uni-stuttgart.de/images/impressicon.gif=
"=20
width=3D9> <A class=3Dgreylink=20
=
href=3D"http://matlabdb.mathematik.uni-stuttgart.de/disclaimer.jsp">Discl=
aimer</A> |=20
<IMG height=3D10 hspace=3D5=20
=
src=3D"http://matlabdb.mathematik.uni-stuttgart.de/images/impressicon.gif=
"=20
width=3D9> <A class=3Dgreylink=20
=
href=3D"http://matlabdb.mathematik.uni-stuttgart.de/impressum.jsp">Impres=
sum</A>=20
=
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
------=_NextPart_000_00D8_01C77CF8.BBA3B430
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://matlabdb.mathematik.uni-stuttgart.de/images/pixeltrans.gif
R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAQAICRAEAOw==
------=_NextPart_000_00D8_01C77CF8.BBA3B430
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://matlabdb.mathematik.uni-stuttgart.de/images/homeicon.gif
R0lGODlhCQAKAIABAG5wc////yH+ITxDT1BZPkNvcHlyaWdodCBiZWkgVW5pIFN0dXR0Z2FydAAh
+QQBAAABACwAAAAACQAKAAACE4wDp5l7jVSEjgFmMJ4c3U9JQQEAOw==
------=_NextPart_000_00D8_01C77CF8.BBA3B430
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://matlabdb.mathematik.uni-stuttgart.de/images/kontakticon.gif
R0lGODlhCQAKAIABAG5wc////yH+ITxDT1BZPkNvcHlyaWdodCBiZWkgVW5pIFN0dXR0Z2FydAAh
+QQBAAABACwAAAAACQAKAAACE4yPecDtkFqABrI6K81azed4RgEAOw==
------=_NextPart_000_00D8_01C77CF8.BBA3B430
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://matlabdb.mathematik.uni-stuttgart.de/images/unilogo.gif
R0lGODlhIwAjAPf/ABEREgQEBAsLC+vw+oCChezx++nu+Nvg6Ofs9dnd5qqutOTo8YaIjM7S2eLn
8KSnrDo7PGxucebr9BkZGVJUVkxNTrS3verv+aOmqzIzNNjc5WNjZpSWmkVGSH+AguTp8tLX31BR
U97j6yorLLq+xT4+QJGTl7/Dya6xuKGjqUlKTENERhobG+Xq8zExMsLGzba6wGlqbSMjJFtdX2Zo
asfK0G5wcykpKrm9wy4vLywtLqeqrllaXUJCRLK1u+Po8MTI0MnN1eju97C0usfM02BhZM/T2lhY
WsrP1nh6fnt+guvw+XJzdnZ4fF9gYjk5Or3Axo+Sltre5IeHiFZXWkBBQrO2vb7ByJWXnLi5vCYm
J+Dl7cTHznN0eNTX3n6BhaaorcPHzj09Pk5OULe7wra5vh0dHcHEyWtsbnByddHV3Le6vx4fH11e
X9PY4Lq9xJeZntfb5Keoq2hpbJWYnYSFieHm7nBxdDU1NnV2eZuepGttcNba42RmaWFiZTg4OY6Q
lamrsDs8Pdvf5peaoNTY4MjL0amssVVVV5KUmkVFRr3ByLCytYmLj8zQ1nx9fqapr7y/xTM0Nbi8
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -