Why are the built-in functions in Matlab so much faster then the ones that you write yourself?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
yes,
matlabalikes usually use wrapper functions for linear algebra library routines written in a low level language (usuallyFortran) such asBLAS,ATLASorLAPACK.you can read more about this in here
also see this question if you’re curious how much overhead does function wrapping costs (basically none). results are for
C++,pythonandnumpybut I believe they are applied to matlab as well.