MAXIMA CAS in MATLAB
%MAXIMA enables the use of the MAXIMA CAS in MATLAB
% This function uses the Jacomax (Java Connector for Maxima) to start and
% connect to a session of MAXIMA. The user passes the MAXIMA command in as
% a string and the result is returned as a string that can be used in
% conjunction with the vectorize and inline command to construct a function
% that can be evaluated and plotted in MATLAB.
%
% Required Additional Software:
% 1. Maxima, which is found at:
% http://sourceforge.net/projects/maxima/files/?source=navbar
%
% 2. Jacomax (Java Connector for Maxima) a basic Java interface for the
% Maxima computer algebra system can be found at:
% http://sourceforge.net/projects/jacomax/files/
%
% The contents of their package must be in java class path
% javaaddpath('jacomax-0.2.3.jar')
% javaaddpath('slf4j-api-1.5.11.jar')
% javaaddpath('jacomax-samples-0.2.3.jar')
%
% Additionally, you must modify their jacomax.properties.sample file to
% point to your installation of MAXIMA and change the file name to be
% jacomax.properties
%
% Examples:
% result = maxima('expand((x+2)*(x+3))')
% result = maxima('factor(x^2+5*x+6)')
% result = maxima('integrate(x^2+5*x+6,x)')
% result = maxima('diff(x^2+5*x+6,x)')
Citation pour cette source
Jonathan Lister (2024). MAXIMA CAS in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/42961-maxima-cas-in-matlab), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > External Language Interfaces >
- Mathematics and Optimization > Symbolic Math Toolbox > Mathematics > Linear Algebra >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |