How to transfer a function from Maxima to Octave?
4 views (last 30 days)
Show older comments
Hello there,
I'm looking for a method to use a long multivariable function that I calculate using Maxima, in Octave (or Matlab)
Does anyone know how to do that? I'll appreciate any help you could provide me,
Thank you
1 Comment
Walter Roberson
on 13 Jan 2019
Octave questions should be directed to Octave resources. Octave is a different programming language. The intent of Octave is that copies of the software are no charge, and that you can copy it and do whatever programming that you want for yourself, but that if you need assistance with the programming that you should pay someone for that assistance. (Free Software Foundation is an economic model in which you are expected to pay for services in order to make up for the software being no charge.)
Answers (1)
insaf
on 13 Jan 2019
1 Comment
Walter Roberson
on 13 Jan 2019
My reply is that if you want an answer about Octave then you should find a consultant and pay for the advice. Octave is a product of the Free Software Foundation, whose purpose is to put all proprietary software companies out of business, replacing purchase (lease) costs of software in favour of a system in which you either do the work yourself or you hire someone to do the work for you (and in which you must give the source code to anyone you make the executable available to.)
This resource, MATLAB Answers, is for Mathworks products, the MATLAB and Simulink and Polyspace family of products. MATLAB is proprietary software that, to be honest, sometimes feels expensive for some of the products, but the money does go to keep employees in food and shelter while they improve the products.
A number of people volunteer to help other people with Mathworks products, for a variety of personal reasons, including people who are interested in making the costs of using MATLAB (once paid for) in some way more affordable.
That all said: there does not appear to be a lot of Maxima experience in the volunteers here.
If your Maxima program is not too long, and you post it, then people might happen to be interested enough to research the Maxima enough to translate it into MATLAB. But people are more likely to respond to specific questions such as "How do I create a multivariate numeric distribution with these particular characteristics?" The longer your Maxima program, the less likely that anyone will volunteer to translate it all.
A question about the result you are looking for: Maxima is symbolic software that can be used for numeric tasks. Are you looking to translate into symbolic software, or are you looking to translate into numeric software? Theoretical analysis versus practical numeric computation. The Statistics and Machine Learning Toolbox is for numeric work. The Symbolic Toolbox can be used for symbolic work, but it can be a bit weak on theoretical and a bit weak on performance.
If the Maxima program involves formula manipulation, or you are hoping for high performance symbolics, then you might be better off implementing in Maple or Mathematica. (I have experience in Mathematica, and Maple, and MuPAD (MATLAB), but I do not have experience with Maxima.)
See Also
Categories
Find more on Octave in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!