Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Polynomials > horner

horner

多項式/有理数の評価

呼び出し手順

horner(P,x)

Parameters

P

多項式または有理数の行列

x

数値または多項式または有理数の配列

説明

多項式の変数sxで 置換される時, 多項式または有理数行列P = P(s)を評価します:

horner(P,x)=P(x)

例 (双一次変換): P = P(s) が有理行列と仮定すると, 有理行列P((1+s)/(1-s))horner(P,(1+s)/(1-s))により得られます.

指定した周波数で有理行列を評価する場合は, freqプリミティブを使用する方が良いでしょう.

//数値ベクトルに関する多項式の評価
P=poly(1:3,'x')
horner(P,[1 2 5])
horner(P,[1 2 5]+%i)
//有理数の評価
s=poly(0,'s');M=[s,1/s];
horner(M,1)
horner(M,%i)
horner(M,1/s)
//数値行列に関する多項式の評価
X= [1 2;3 4]
p=poly(1:3,'x','c')
m=horner(p, X)
1*X.^0+2*X.^1+3*X.^2

参照

  • freq — 周波数応答
  • repfreq — 周波数応答
  • evstr — 式を評価する
Report an issue
<< hermit Polynomials hrmt >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Apr 01 10:25:01 CEST 2015