首先,built-in 函数是不公开的,其次,built-in 函数并非是用我们熟知的matlab语言写的,所以,即使给你了,你也未必能看懂。matlab 最初是在两个高效的底层矩阵计算包 LINPACK 和 EISPACK 上发展出来的,这两个包的升级版本叫做 LAPACK (关于这些的介绍,你可以参考:
http://www.mathworks.com/company ... porates-lapack.html
)。能写出这些包并且对其维护的人都是全球顶尖编程高手,他们不仅要求编程牛逼,还要精通线性代数和矩阵运算。所以,一般人根本不可能接触到matlab这些底层的东西。曾经有很多matlab爱好者向mathworks 询问并索要过built-in函数源代码,都被拒绝了,他们收到的回复是:
You can read and edit the source code for M-file functions that ship with
MATLAB; the only way to read and edit the built-in functions like FFT is to
get a job with The MathWorks. We don't distribute the built-in source code
for MATLAB.
--
Steve Lord
You can read and edit the source code for M-file functions that ship with
MATLAB; the only way to read and edit the built-in functions like FFT is to
get a job with The MathWorks. We don't distribute the built-in source code
for MATLAB.
--
Steve Lord
MATLAB内置函数揭秘
本文解释了MATLAB中内置函数的不可见性及其原因。这些函数并非用MATLAB语言编写,而是基于高效的底层矩阵计算包LINPACK和EISPACK开发,并且由全球顶尖的编程专家维护。文章还引用了MathWorks官方对于为何不公开这些内置函数源代码的回应。
2648

被折叠的 条评论
为什么被折叠?



