on my laptop, octave (3.0.5) takes 200 secs for the first code and
just 24 secs for the second--i thought i had proved my point.
A ratio of 8.3:1
however, on the department server (admittedly a much faster machine),
matlab ground through the first code in 0.82 secs while the second
code took 4.3 secs.
A ratio of 5.2:1. Not quite the same, but I think the point is proven
nonetheless.
--
Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.
2111)
ISTI - Area della ricerca CNR Fax: +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa Email: address@hidden
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/