Scilab 5.3.0
      
      - Scilab Online Help
 - Scilab
 - Scilab keywords
 - TMPDIR
 - abort
 - add_demo
 - argn
 - banner
 - boolean
 - break
 - clear
 - clearfun
 - clearglobal
 - comp
 - continue
 - debug
 - delbpt
 - dispbpt
 - edit
 - errcatch
 - errclear
 - error
 - error_table
 - exists
 - exit
 - external
 - extraction
 - format
 - funcprot
 - funptr
 - getdebuginfo
 - getmd5
 - getmemory
 - getmodules
 - getos
 - getscilabmode
 - getshell
 - getvariablesonstack
 - getversion
 - gstacksize
 - ieee
 - insertion
 - intppty
 - inv_coeff
 - iserror
 - isglobal
 - lasterror
 - macr2lst
 - macr2tree
 - matrices
 - matrix
 - mode
 - mtlb_mode
 - names
 - newfun
 - null
 - pause
 - perl
 - poly
 - predef
 - quit
 - rational
 - readgateway
 - resume
 - sciargs
 - scilab
 - setbpt
 - stacksize
 - startup
 - symbols
 - testmatrix
 - type
 - typename
 - user
 - varn
 - ver
 - warning
 - what
 - where
 - whereami
 - who
 - who_user
 - whos
 - with_atlas
 - with_javasci
 - with_macros_source
 - with_module
 - with_pvm
 - with_texmacs
 - with_tk
 
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
varn
symbolic variable of a polynomial
Calling Sequence
[symb]=varn(p) [pm]=varn(x,var)
Arguments
- p
 polynomial (or matrix polynomial)
- symb
 character string
- x
 polynomial or polynomial matrix
- var
 symbolic variable (character string)
- pm
 matrix or polynomial matrix
Description
symb=varn(p) returns in symb the symbolic variable of the polynomial p
    (i.e. varn(poly(0,'x')) is 'x').
varn(x,'s') returns a polynomial matrix with same coefficients
    as x but with 's' as symbolic variable (change of variable name).
Examples
s=poly(0,'s');p=[s^2+1,s]; varn(p) varn(p,'x')
| << user | Scilab | ver >> |