Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not the parent commenter but I've used matlab extensively and found Numpy clunky in comparison.

All I ever did in matlab involved matrices (usually differential equations with matrix coefficients and other things of that nature) and matrices are super easy to use in MATLAB:

    A = [1 2 3
        4 5 6];
or

    A = [1 2 3; 4 5 6];
I can input A just like that and it works, try out the python syntax:

    A = array([[1,2,3],[4,5,6]])
And it just goes on from there.

Even if you're doing complicated operations because matrices are the essential building blocks of MATLAB it is easy to use, not so much in python.

I tried building my FEA (finite element analysis) project in python after i finished programming it in matlab it and found it to frustrating to continue.



Matlab has a terse syntax for 2D matrices. Try creating 3D, 4D and 5D matrices, and the syntax is suddenly completely different.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: