Matlab

Touching MATLAB

Wednesday, July 23rd, 2008

It has been quite some time since I get my hands dirty on MATLAB, a powerful mathematical and simulation application (software), which I previously used to run extensive simulations over several days and weeks. I am still highly fascinated with MATLAB, as it practically allows users to program work the ...

FMINCON and FMINUNC Optimisation - Which One to Choose?

Saturday, December 1st, 2007

Matlab provides a huge library of toolboxes and I used a lot on the Optimisation Toolbox; particularly - fmincon and fminunc. FMINCON is a function script from the MATLAB Optimisation Toolbox that uses constrained optimisation routines to minimise (or maximise) functions. FMINUNC is a function script from the MATLAB Optimisation Toolbox that ...

Ensure Matrix is Symmetrical

Friday, November 30th, 2007

MATLAB is a powerful piece of programming language used. However, since it runs on machine, there is always a finite level of precision, no matter how accurate the program is being developed. For instance, a positive-definite matrix, A, is created with several repmat and permute commands, the symmetry of the entries ...