?? ch5_1_2.htm
字號:
<! Made by Html Translation Ver 1.0>
<HTML>
<HEAD>
<TITLE> 矩陣多項式 </TITLE>
</HEAD>
<BODY BACKGROUND="img/bg0000.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img/bg0000.gif">
<FONT COLOR="#0000FF">
<H1>5.1.2 矩陣多項式</H1>
</FONT>
<HR>
<P>
函數<FONT COLOR=#FF0000>polyvalm</FONT>是以矩陣方式做多項式函數計算,有別于<FONT COLOR=#FF0000>polyval</FONT>是以陣列方式計算函數值。它的語法為
<FONT COLOR=#FF0000>polyvalm(a,X)</FONT>,其中<FONT COLOR=#FF0000>X</FONT>為一矩陣而<FONT COLOR=#FF0000>a</FONT>則是一多項式。以下的例子可說明其用法。
<P>
<FONT COLOR=#FF0000 FACE="Times New Roman">>> X=[1 1 1;
2 2 2; 3 3 3];</FONT>
<P>
<FONT COLOR=#FF0000 FACE="Times New Roman">>> a=[1 1 1];
% </FONT><FONT COLOR=#FF0000>注意</FONT><FONT COLOR=#FF0000 FACE="Times New Roman">a=X*X+X+I</FONT>
<P>
<FONT COLOR=#FF0000 FACE="Times New Roman">>> f=polyvalm(a,X)</FONT>
<P>
<FONT COLOR=#FF0000 FACE="Times New Roman">f =</FONT>
<P>
<FONT COLOR=#FF0000 FACE="Times New Roman"> 8 7 7</FONT>
<P>
<FONT COLOR=#FF0000 FACE="Times New Roman"> 14 15 14</FONT>
<P>
<FONT COLOR=#FF0000 FACE="Times New Roman"> 21 21 22
<BR>
</FONT><HR>
<A HREF="ch5_1_1.htm" tppabs="http://166.111.167.223/computer/cai/matlabjc/ch5_1_1.htm"><IMG SRC="img/lastpage.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img/lastpage.gif" BORDER=0></A>
<A HREF="ch5_2.htm" tppabs="http://166.111.167.223/computer/cai/matlabjc/ch5_2.htm"><IMG SRC="img/nextpage.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img/nextpage.gif" BORDER=0 HSPACE=10></A>
<A HREF="index.html" tppabs="http://166.111.167.223/computer/cai/matlabjc/index.html"><IMG SRC="img/outline.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img/outline.gif" BORDER=0 HSPACE=6></A><BR>
<FONT SIZE=2 COLOR=#AA55FF> 上一頁 下一頁 講義大綱 </FONT>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -