Warning: Trying to access array offset on value of type bool in /data/www/freeminded.org/www/wp-content/plugins/wp-latex/wp-latex.php on line 39 Tag » Scripting « @ Freeminded.org Warning: Trying to access array offset on value of type bool in /data/www/freeminded.org/www/wp-content/plugins/wp-latex/wp-latex.php on line 46

Posts Tagged Scripting

Simulation: event-bounded VS time-bounded termination

Posted by on Tuesday, 29 November, 2011

Doing discrete event (network) simulations; which termination criterion do you use? This article concerns OMNeT++/MiXiM but could easily be generalised. Read the rest of this entry »

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 »

Moving files to a Linux box

Posted by on Thursday, 13 October, 2011

Moving files to (and from) a GNU/Linux box is trivial for those well-seasoned in the use of the commandline. For Mac or windows users who need to make use of a Linux box (read my article on Clustercomputing with Torque) this may be the first problem they encounter. Easily overcome, though tough if you don’t know how it works. Read the rest of this entry »

Gnuplot: increasing readability of plots

Posted by on Friday, 23 September, 2011

Gnuplot is a great way to plot your data. It is very powerful, easily attached to all your analysis tools and scripts and provides publication-ready vector output (or to any other thinkable printer, image format, character device etc.). It’s just not always that easy to find the correct commands to do what you want. Read the rest of this entry »