<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>inv_coeff</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>April 1993</DATE>
  <SHORT_DESCRIPTION name="inv_coeff"> build a polynomial matrix from its coefficients</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>[P]=inv_coeff(C,[,d,[name])  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>C</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: big matrix of the coefficients</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>d</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: Polynomial matrix degree. optional parameter with default value  <VERB>d=-1+size(C,'c')/size(C,'r')</VERB></SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>name</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: string giving the polynomial variable name (default value <VERB>'x'</VERB>).</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P><VERB>P=inv_coeff(Mp,k)</VERB>, when <VERB>k</VERB> is compatible with <VERB>Mp</VERB>  
    size, returns a polynomial matrix of degree k. <VERB>C=[C0,C1,...,Ck]</VERB> and 
    <VERB>P= C0 + C1*x +... +Ck*x^k</VERB>.</P>
  </DESCRIPTION>
  <EXAMPLE>
<![CDATA[
A=int(10*rand(2,6))
// Building a degree 1 polynomial matrix
P=inv_coeff(A,1)
norm(coeff(P)-A)
// Using default value for degree
P1=inv_coeff(A)
norm(coeff(P1)-A)
 ]]>
  </EXAMPLE>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>poly</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>degree</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>coeff</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>
