Digits of Accuracy: Maple Toolbox for Matlab
- From: "omegayen " <omegayen@xxxxxxxxxxxxx>
- Date: Thu, 23 Jul 2009 17:51:01 +0000 (UTC)
I have been using the maple toolbox for matlab...... I am interested in keeping a large number of digits in computations but using some of the builtin MATLAB functions.
In Maple, it is quite easy to set the maximum number of digits.... you simply use kernelopts(maxdigits).
I would like to also keep a large number of digits available when working in MATLAB and/or when working in Maple and having MATLAB performing a few calculations.
For example the following is an example to use Maple and have Matlab peform a matrix inversion and send the result back to Maple.....
with(Matlab)
maplematrix_a := Matrix([[3, 3, 2], [4, 5, 2], [6, 2, 4]])
maplematrix_b := Matrix([[3, 2, 5], [1, 8, 2], [7, 3, 4]])
Matlab[setvar]("matlabmatrix_a", maplematrix_a)
Matlab[setvar]("matlabmatrix_b", maplematrix_b)
Matlab[evalM]("c=inv(matlabmatrix_b)*matlabmatrix_a")
Matlab[getvar]("c")
does anyone know how I could have Matlab keep a large amount of digits for example for the inversion, if I were to send it back to Maple.....
Also does anyone have any idea how to keep a large number of digits in Matlab? Thanks.
.
- Follow-Ups:
- Re: Digits of Accuracy: Maple Toolbox for Matlab
- From: Nathan
- Re: Digits of Accuracy: Maple Toolbox for Matlab
- Prev by Date: Re: Linux vs Windows Differences
- Next by Date: Re: Linux vs Windows Differences
- Previous by thread: normalizing a matrix to diag=1
- Next by thread: Re: Digits of Accuracy: Maple Toolbox for Matlab
- Index(es):
Relevant Pages
|