ch5_1_2.htm

来自「matlab详细手册,提供各种相关的操作」· HTM 代码 · 共 40 行

HTM
40
字号
<! Made by Html Translation Ver 1.0>

<HTML>

<HEAD>

<TITLE>  矩阵多项式 </TITLE>

</HEAD>



<BODY BACKGROUND="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">&gt;&gt; X=[1 1 1;

2 2 2; 3 3 3];</FONT>

<P>

<FONT COLOR=#FF0000 FACE="Times New Roman">&gt;&gt; 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">&gt;&gt; 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="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="nextpage-1.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="outline-1.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 + =
减小字号Ctrl + -
显示快捷键?