File Exchange

image thumbnail

maplePrompt

version 1.0 (1.43 KB) by

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

2 Downloads

Updated

View License

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!
>>

Comments and Ratings (1)

vap

MATLAB Release
MATLAB 7.6 (R2008a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video