Code covered by the BSD License  

Highlights from
maplePrompt

Be the first to rate this file! 8 Downloads (last 30 days) File Size: 1.43 KB File ID: #32669

maplePrompt

by

 

Facilitates interaction with internal-Maple engine of MATLAB. Requires MATLAB 2008a or prior.

| Watch this File

File Information
Description

This is a simple m-file with just a couple of lines.
 
* * * Please note that you need MATLAB 2008 or prior to use this script. * * *
(This script is not yet tested with "Maple Toolbox for MATLAB")

Provides a prompt (within MATLAB command prompt) for interacting with the internal Maple engine of MATLAB.
Mere fraction of Maple's capabilities are available this manner.

If expected, the last 'maple' result and status are returned at exit.

Example usage:
>> maplePrompt
============================================================
'maplePrompt' additional commands:
- clc : clear screen
- clear : restart maple engine
- exit : terminate maplePrompt
============================================================
maple >> x:=factorial(100)
x := 93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
maple >> y:=log(x)
y := log(93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000)
maple >> evalf(y)
363.73937555556349014407999336966
maple >> evalf(Pi)
3.1415926535897932384626433832795
maple >> fsolve( cos(z)=z,z)
.73908513321516064165531208767387
maple >> fsolve( z^3-3*z+1=0,z)
-1.8793852415718167681082185546495, .34729635533386069770343325353863, 1.5320888862379560704047853011108
maple >> exit
bye, bye!
>>

Required Products Symbolic Math Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Other requirements MALAB 2008a or prior. Not yet tested with "Maple Toolbox for MATLAB".
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us