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

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

Scilabヘルプ >> Polynomials > varn

# varn

### 呼出し手順

```[symb]=varn(p)
[pm]=varn(p,varname)```

p

symb

varname

pm

### 説明

`symb=varn(p)` は, 多項式`p`の記号変数 `symb`を返します (すなわち,`varn(poly(0,'x'))``'x'` です).

`varn(p,'s')` は,`p`と 同じ係数を有し,`'s'`を記号変数とする 多項式行列を返します(変数名の変更).

### 例

```s = poly(0,'s'); p = [s^2+1,s];
varn(p)
varn(p,'x')

f = %z / (%z-1); f = [f f^2]
varn(f)
varn(f,"x")```

### 参照

• poly — 多項式を定義する
• rlist — Scilab 有理関数定義
• horner — 多項式/有理数の評価

### 履歴

 Version Description 5.5.1 Extension to rationals
 Report an issue << sylm Polynomials Signal Processing >>

 Copyright (c) 2022-2024 (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:Mon Feb 12 23:12:40 CET 2018