Programming
Sep. 25th, 2003 02:06 pmInstalled MATLAB on the office PC yesterday. Had quite forgotten what it feels like programming in a language not designed by baboons.
(ANSYS/APDL is something originally written in FORTRAN by engineers for in-house use, running under Unix. Then they decided to sell it to others. A few versions later they added Windows compatibility. And so on. The inevitable result of this is that it combines the user-friendliness of Fortran with all the structure you might expect from something written piecemeal over a couple of decades, and documented as an afterthought. Have I mentioned how I hate it?)
MATLAB, by contrast, is God's own gift to those wishing to program mathematics. Have now written routines that not calculate Zernike polynomials, but can take other data and break it down into a sum of said polynomials (effectively a spectral decomposition type thingy). Rounding errors are significant, but it's good enough for my purposes.
Whee. Am actually feeling productive for a change.
(In other news, small child free to good home. See
reynardo's LJ for details.)
(ANSYS/APDL is something originally written in FORTRAN by engineers for in-house use, running under Unix. Then they decided to sell it to others. A few versions later they added Windows compatibility. And so on. The inevitable result of this is that it combines the user-friendliness of Fortran with all the structure you might expect from something written piecemeal over a couple of decades, and documented as an afterthought. Have I mentioned how I hate it?)
MATLAB, by contrast, is God's own gift to those wishing to program mathematics. Have now written routines that not calculate Zernike polynomials, but can take other data and break it down into a sum of said polynomials (effectively a spectral decomposition type thingy). Rounding errors are significant, but it's good enough for my purposes.
Whee. Am actually feeling productive for a change.
(In other news, small child free to good home. See
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)