Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Twitter Adept Scientific on LinkedIn


The Next Steps

• Ask us a question
• Maple Product Tour
• Buy Maple Now
• View Maple Pricing
• Download a Brochure
• Request a Brochure
• Request an Evaluation
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 15 Professional
Maple 15 Academic
Maple 15 Student Use
What's New in Maple 15
Maple Features
Maple History
Recorded Online Seminars

MapleSim
MapleNet
Maple T.A.
BlockImporter™
Maple Toolboxes

Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Maple Home
Maple 15 Professional
Maple 15 Academic
Maple 15 Student Use
What's New in Maple 15
Maple Features
Maple History
Recorded Online Seminars

MapleSim
MapleNet
Maple T.A.
BlockImporter™
Maple Toolboxes and
Connectors


Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Latest Information

New Features: Professional
New Features: Academic
Maple Features
The Maple Reporter Online

Service & Support

Maple Primes
blogs, forums etc

Elite Maintenance Program
Application Centre
Powertools
Search the Knowledge Base
Technical Support request

List Archives >  Maple User Group List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[MUG] Suggestion to Maple development group: add MatrixDE()

Search email archive for  

[MUG] Suggestion to Maple development group: add MatrixDE()
Author: Rouben Rostamian    Posted: Thu, 30 Jan 2003 20:40:17 -0500

>> From: "Rouben Rostamian" />
I hope that someone in the Maple development groups is reading this.

Let A be a square matrix of constants and consider the system of
differential equations:

x' = A x.

We can obtain the general solution by:

with(linalg):
with(DEtools):
A := matrix([[3,1],[1,3]]): # example
matrixDE(A,t);
[exp(2 t) exp(4 t)]
[[ ], [0, 0]]
[-exp(2 t) exp(4 t)]


But this won't work if the coefficient matrix A is defined using the
"LinearAlgebra" package instead of the "linalg" package, because
matrixDE() expects a "matrix" rather than a "Matrix" as its first
argument.

To get around this, we may convert from "Matrix" to "matrix" using
the convert() command:

with(LinearAlgebra):
with(DEtools):
A := Matrix([[3,1],[1,3]]): # example
matrixDE(convert(A,matrix), t);

which produces the same solution as above, as it should. The syntax,
however, is needlessly clunky.

It would be nice to add a function MatrixDE() to the DEtools package
which will work just like the existing matrixDE(), but which will
accept a "Matrix" as its argument.

--
Rouben Rostamian />

[MUG] Re: Suggestion to Maple development group: add MatrixDE()
Author: Carl Devore    Posted: Sat, 15 Feb 2003 04:13:58 -0500

>> From: Carl Devore />
On Thu, 30 Jan 2003, Rouben Rostamian wrote:
> with(DEtools):
> A := matrix([[3,1],[1,3]]): # example
> matrixDE(A,t);
>
> But this won't work if the coefficient matrix A is defined using the
> "LinearAlgebra" package instead of the "linalg" package, because
> matrixDE() expects a "matrix" rather than a "Matrix" as its first
> argument. To get around this, we may convert from "Matrix" to
> "matrix" using the convert() command:
>
> with(DEtools):
> A := Matrix([[3,1],[1,3]]): # example
> matrixDE(convert(A,matrix), t);
>
> which produces the same solution as above, as it should. The syntax,
> however, is needlessly clunky.
>
> It would be nice to add a function MatrixDE() to the DEtools package
> which will work just like the existing matrixDE(), but which will
> accept a "Matrix" as its argument.

It is such a triviality, why not write MatrixDE yourself and save it to a
personal library.

> MatrixDE:=
> ()-> DEtools[matrixDE](convert(args[1], matrix), args[2..-1]);

Also, you do not need to load linalg in order to use matrix nor do you
need to load LinearAlgebra in order to use Matrix.


Previous by date: [MUG] Re: plotting colors in maple, Robert Israel
Next by date: [MUG] differental operators, Richard Patterson
Previous thread: [MUG] Maple Automata package, Vesa-Matti Sarenius
Next thread: [MUG] differental operators, Richard Patterson



Ready to buy?

For more pricing information:
Visit our webstore, call us on +1 800 724 8380 or email us at info@adeptscience.com

Featured Downloads

Maple 15 & MapleSim 5 Professional Brochure
Maple 15 Academic Datasheet
Maple 15 & MapleSim 5 Brochure - Academic Brochure
Maple 15 New Features data sheet
Maple 15 New Features - Flyer
Maple Whitepaper: Driving Innovation - How mathematical modeling and optimisation increase efficiency and productivity in vehicle design.
MapleSim Whitepaper: Technological Superiority in Multi-Domain Physical Modeling and Simulation

Latest Downloads

Maple Case Study: The Changing Face of Robotics
Maple Application Brief - Analyse the Path of a Liquid-Handling Robot
Maple Player for iPad - App
Maple Player for iPad - Datasheet
Case Study - Multi-Domain Modelling Critical to Unmanned Vehicle Designs

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks

Latest News

NASA’s Jet Propulsion Laboratory begins widespread adoption of Maplesoft technology
NASA’s Jet Propulsion Laboratory begins widespread adoption of Maplesoft technology
Latest release marks the 10th anniversary of Maple T.A.
Maple Case Study: The Changing Face of Robotics
Maple Application Brief - Analyse the Path of a Liquid-Handling Robot
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Maple | MapleSim | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2012, Adept Scientific plc.
Site designed and maintained by Lyndon Ash

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055