28
Is it possible to do calculations with GNU Octave using measuring units?
(lemmy.kde.social)
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Community icon from opensource.org, but we are not affiliated with them.
The Octave miscellaneous package has embedded GNU units as a function which should be helpful.
It looks interesting, but more focused on conversions than actual operations it seems:
I think I've found a solution. Matlab has implemented
symunits
in the symbolic toolbox and I've found the original? on Github. Hopefully it is compatible to GNU Octave.This looks very VERY promising! I'll try to install it tomorrow and Post here the results! Thanks?
I downloaded it and tried to run it, but it gets stuck in a loop and I don't know how it could be fixed:
it seems the problem is in the line
in the file
u.m
, I think becauseu.baseUnitSystem
tries to "call itself". I don't know what this should be supposed to do, and have no idea on how to possibly fix it :(It seems that the implementation of
classdev
in Octave is unfortunately not complete enough yet.๐