12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A := Matrix([[1,2,3],[1,2,3],[2,5,6]]):Then the following call to eig is made.> P,W := eig(A, eigenvectors=true):3.8 The Maple Packages • 91Notice what is to the left of the assignment operator. The (P,W) specifiesthat two outputs are to be generated and assigned to variables —the eigenvalues to W and the eigenvectors to P. This multiple assignmentis available to standard Maple commands but, since existing Maple commandsare designed to create a single result, is rarely used.Consider the individual results.> W;⎡⎤9.321825 0. 0.⎢⎣ 0. −.5612673 10 −15 0. ⎥⎦0. 0. −.3218253> P;⎡⎤−.3940365889964673 −.9486832980505138 −.5567547110202646⎢⎣ −.3940365889964672 −2.758331802155925 10 −16 −.5567547110202655 ⎥⎦−.8303435030540421 .3162277660168383 .6164806432593667The commands in this package can also take input in MATLAB format.Refer to the help page ?Matlab for more information on acceptableinput.The Statistics PackageThe stats package has many commands for data analysis and manipulation,and various types of statistical plotting. It also contains a widerange of statistical distributions.The stats package contains subpackages. Within each subpackage,the commands are grouped by functionality.> with(stats);[anova, describe, fit, importdata, random, statevalf ,statplots, transform]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!