Wow, Python much faster than MatLab



hi All,

instead of questions,
my first success story:

I converted my first MatLab algorithm into Python (using SciPy),
and it not only works perfectly,
but also runs much faster:

MatLab: 14 msec
Python: 2 msec

After taking the first difficult steps into Python,
all kind of small problems as you already know,
it nows seems a piece of cake to convert from MatLab to Python.
(the final programs of MatLab and Python can almost only be distinguished by the comment character ;-)

Especially I like:
- more relaxed behavior of exceeded the upper limit of a (1-dimensional) array
- much more functions available, like a simple "mean"
- reducing datatype if it's allowed (booleans of 1 byte)

thanks for all your help,
probably need some more in the future,
cheers,
Stef Mientki
.



Relevant Pages

  • Of money and mouths
    ... He emailed me a Python ... Matlab is a package produced by Mathworks. ... I'm not sure how to interface Lisp with a process ... Now the Scheme ...
    (comp.lang.python)
  • Of money and mouths
    ... He emailed me a Python ... Matlab is a package produced by Mathworks. ... I'm not sure how to interface Lisp with a process ... Now the Scheme ...
    (comp.lang.lisp)
  • Re: About alternatives to Matlab
    ... Python to interface with data acquisition hardware really result in ... I am very familiar with Matlab, Labview, and Python, ... Matlab and Python sucks equally much when it comes to ...
    (comp.lang.python)
  • Re: Python, Matlab and AI question
    ... > I'm a student who's considering doing a project for a Machine Learning ... > visuals) but I already have a lot of AI code written in Matlab. ... > I'd like to be able to call Matlab code from within python. ... That would be Numeric and scipy. ...
    (comp.lang.python)
  • ANN: matplotlib-0.40 python plots with matlab syntax
    ... matplotlib is a pure python 2D plotting library with a matlab syntax ... in one enhanced function 'errorbar'. ...
    (comp.lang.python)