数模论坛

 找回密码
 注-册-帐-号
搜索
热搜: 活动 交友 discuz
楼主: b

数值计算算法C程序下载

[复制链接]
发表于 2006-11-7 16:51:04 | 显示全部楼层
[em05][em06]
发表于 2006-11-15 04:12:45 | 显示全部楼层
<p>谢谢!</p>
发表于 2006-11-28 17:29:02 | 显示全部楼层
<p>各位兄弟姐妹帮帮我吧 用(MATLAB)有急用啊</p><p></p><p align="left" class="MsoNormal" style="TEXT-ALIGN: left; TEXT-INDENT: 36pt;"><span style="FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt;">用豪斯荷尔德<span lang="EN-US">(householder)变换对一般m*n阶的实矩阵进行QR分解,由于2范数在正交变换Q下保持不变,即<span style="mso-text-raise: -9.0pt;"><shapetype id="_x0000_t75">
                                                <stroke></stroke><formulas><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f></formulas><path></path><lock></lock></shapetype><shape id="_x0000_i1025" style="HEIGHT: 23.25pt; WIDTH: 131.25pt;"><imagedata></imagedata></shape></span>,因此我们可以通过QR分解简化最小二乘问题。<p></p></span></span></p><p align="left" class="MsoNormal" style="TEXT-ALIGN: left; TEXT-INDENT: 36pt;"><u style="text-underline: dotted-heavy;"><span style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt;">实验要求</span></u><span style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt;">:实验包含三个程序<span lang="EN-US"><p></p></span></span></p><p align="left" class="MsoNormal" style="MARGIN-LEFT: 72pt; TEXT-ALIGN: left; TEXT-INDENT: -36pt; mso-list: l0 level1 lfo4; tab-stops: list 72.0pt;"><span lang="EN-US" style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt;">1、<span style="FONT: 7pt &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span lang="EN-US" style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt;">householder变换<span style="mso-spacerun: yes;">&nbsp;&nbsp; </span>[v,b]=house(x)<p></p></span></p><p align="left" class="MsoNormal" style="MARGIN-LEFT: 72pt; TEXT-ALIGN: left; TEXT-INDENT: -36pt; mso-list: l0 level1 lfo4; tab-stops: list 72.0pt;"><span lang="EN-US" style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt; mso-bidi-font-size: 14.0pt;">2、<span style="FONT: 7pt &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span lang="EN-US" style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt;">QR分解<span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>[Q,R]=qrfenjie(A) (<u style="text-underline: dotted-heavy;">此文件名不能建为qr</u>)</span><span lang="EN-US" style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt; mso-bidi-font-size: 14.0pt;"><p></p></span></p><p align="left" class="MsoNormal" style="MARGIN-LEFT: 72pt; TEXT-ALIGN: left; TEXT-INDENT: -36pt; mso-list: l0 level1 lfo4; tab-stops: list 72.0pt;"><span lang="EN-US" style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt; mso-bidi-font-size: 16.0pt;">3、<span style="FONT: 7pt &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt;">求出最小二乘问题<span lang="EN-US"><span style="mso-spacerun: yes;">&nbsp;&nbsp; </span>y=leastsquare (A,b)</span></span><span lang="EN-US" style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt; mso-bidi-font-size: 16.0pt;"><p></p></span></p><span style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt; mso-bidi-font-size: 16.0pt; mso-hansi-font-family: 宋体; mso-bidi-font-family: &quot;Times New Roman&quot;; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;">其中第二个函数要调用第一个函数,第三个函数调用第二个函数。以一个最小二乘问题</span><i><span lang="EN-US" style="COLOR: black; FONT-FAMILY: &quot;Times New Roman&quot;; FONT-SIZE: 12pt; mso-bidi-font-size: 16.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 楷体_GB2312;">Ax</span></i><span lang="EN-US" style="COLOR: black; FONT-FAMILY: &quot;Times New Roman&quot;; FONT-SIZE: 12pt; mso-bidi-font-size: 16.0pt; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 楷体_GB2312;">=<i>b</i></span><span style="COLOR: black; FONT-FAMILY: 楷体_GB2312; FONT-SIZE: 12pt; mso-bidi-font-size: 16.0pt; mso-hansi-font-family: 宋体; mso-bidi-font-family: &quot;Times New Roman&quot;; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;">的<u style="text-underline: dotted-heavy;">具体例子</u><span lang="EN-US"><span style="mso-text-raise: -5.0pt;"><shape id="_x0000_i1026" style="HEIGHT: 18pt; WIDTH: 90pt;">
                                        <imagedata></imagedata></shape></span>且列满秩,利用如上三个函数得出最小二乘问题的解。</span></span>
发表于 2007-3-12 21:34:35 | 显示全部楼层
好东西
您需要登录后才可以回帖 登录 | 注-册-帐-号

本版积分规则

小黑屋|手机版|Archiver|数学建模网 ( 湘ICP备11011602号 )

GMT+8, 2024-11-27 02:16 , Processed in 0.054747 second(s), 13 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表