Posts Tagged Matlab

Matlab: foreach element in array; do something.

Posted by on Thursday, 27 October, 2011

If you have your data in an array (or matrix for that matter) and want to perform operations on it, most programming languages have foreach statement which lets you easily iterate all values. Matlab, actually, does not differ much. Read the rest of this entry »

Matlab: increasing precision

Posted by on Wednesday, 19 October, 2011

Sometimes Matlab does not always perform as expected. This can be because of the IEEE 754 binary double precision floating point (double) representation used by Matlab: there is a finite number of digits to represent a number and this may not always be enough. We discuss how to use the Symbolic Toolkit to circumvent this. Read the rest of this entry »