获取Matlab中的函数代码? [英] get the code of functions in Matlab?

查看:70
本文介绍了获取Matlab中的函数代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道我们-Matlab用户是否可以在Matlab中获得某些功能的代码(例如fft-快速傅立叶变换,dwt-离散小波变换等),以防万一我们想编辑一些内容以适应满足我们的需求. Matlab有可能吗? 如果是这样,我们如何获得代码? 谢谢.

I am wondering if we - the Matlab users can get the code of some functions in Matlab (like fft - fast fourier transform, dwt - descrete wavelet transform, and so on.) Just in case we want to edit something to adapt with what we need. Is it possible in Matlab? and if so, how can we get the code? Thank you.

推荐答案

如前所述,许多MATLAB函数是用MATLAB编写的,因此您可以查看源代码.出于性能原因,某些事情是用本机代码实现的,或者使用外部库.对于FFT,MATLAB使用FFTW库,该库可免费获得源.另请参见 http://www.mathworks.co.uk/help/techdoc /ref/fftw.html

As already mentioned, lots of MATLAB functions are written in MATLAB, so you can see the source. For performance reasons, some things are implemented in native code, or use external libraries. In the case of FFT, MATLAB uses the FFTW library, to which the source is freely available. See also http://www.mathworks.co.uk/help/techdoc/ref/fftw.html

这篇关于获取Matlab中的函数代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆