Digits of Accuracy: Maple Toolbox for Matlab



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



Relevant Pages

  • Re: calling the Maple kernel
    ... Here is something that puzzles me about the interface between Matlab ... The second answer is the exact one (to 16 digits at least). ... Maple functions? ...
    (comp.soft-sys.matlab)
  • Re: Digits of Accuracy: Maple Toolbox for Matlab
    ... 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..... ...
    (comp.soft-sys.matlab)
  • Re: Digits of Accuracy: Maple Toolbox for Matlab
    ... 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..... ...
    (comp.soft-sys.matlab)
  • Re: Definite integral with huge variations in magnitude
    ... Gert Van den Eynde posted elsewhere in this thread that Maple got a ... Matlab gets the same result. ... when I ask for 6 digits. ...
    (sci.math.num-analysis)
  • Re: Mathematica Vs. Matlab
    ... Mathematica is a powerful CAS. ... Maple, REDUCE, MuPAD (it can be legally obtained for free at some circumstances, ... There are a number of programs to do numerical calculations with usual ... One example is Matlab; ...
    (sci.math.symbolic)