MATLAB Answers

If i want to know what algorithm or code is used in the back-end of any MATLAB in-built function....How can i know it? Is there any way or files ?

10 views (last 30 days)
L K on 20 Feb 2017
Answered: Walter Roberson on 20 Feb 2017
eg. delaytriangulation is an inbuilt function, if i want to know the code behind can i get access ?

Answers (2)

James Tursa
James Tursa on 20 Feb 2017
Edited: James Tursa on 20 Feb 2017
Some functions are just m-files that you can edit to get a look at them (e.g., polyval.m). Others are compiled executable code that are proprietary and you cannot look at the source code (e.g., sin.m does not have the actual code for the function).

Walter Roberson
Walter Roberson on 20 Feb 2017
The official answer from Mathworks is that you can get a job with Mathworks.
My unofficial answer as someone who has never worked for Mathworks, is that an unconditional retainer of $US 2 million will get you a 15 minute meeting to start negotiations on the price for access to source code.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!