Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | ATOMS
File : Details
Please login or create an account
Dear visitors/customers, we are migrating most of Scilab services into a new data center.
Note that login/registration will not be available for the moment.

integratePoly

Formal integration of a (hyper)matrix of polynomials
(789 downloads for this version - 789 downloads for all versions)
Details
Version
1.0
Author
Samuel Gougeon
Maintainer
Samuel Gougeon
Category
License
Supported Scilab Version
5.4
Creation Date
March 23, 2012
Description
            -->integratePoly

function [iM] = integratePoly(M)

 Integrate each polynomial stored in the matrix M, with respect to
  their (common) variable.
 * M may be an hypermatrix of any dimension.
 * The integration constant is set to zero.
 * Rational fractions are (obviously ;) not supported

 Example:
 M = [ -1+%z 1+2*%z+%z^2 ; 2-%z^3 6]
 integratePoly(M)

 ans  =
            2           2            3  
  - z + 0.5z       z + z + 0.3333333z                                        
              4                         
    2z - 0.25z     6z                               
Files (2)
[1.15 kB]
Miscellaneous file
Script of integratePoly(). To see the help and example in the console, enter 
-->integratePoly

[3.53 kB]
Screenshot
Example (for thumbnail)
News (0)
Comments (0)
Leave a comment
You must register and log in before leaving a comment.
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.