Effacer les filtres
Effacer les filtres

function

4 vues (au cours des 30 derniers jours)
Sujeet Mishra
Sujeet Mishra le 10 Jan 2012
Hi, how can a see the code of inbuilt functions(lib) of Matlab ...like fft,sin etc....
Sujeet

Réponses (2)

Walter Roberson
Walter Roberson le 10 Jan 2012
The way to see the code for the built-in functions is to get a job with MathWorks. And no, that is not a joke. The built-in functions are not available to users.

TAB
TAB le 10 Jan 2012
You can only see the source of matlab functions which are implemented a program files. Most of the matlab functions are precompiled and we can see source of such functions. Although a m-file exists for such pre-compiled functions also, but it contains only comments for help.
To explore the .m file of matlab function, use
>> edit <Function Name>
For example
>> edit fft
>> edit sin
>> edit repmat

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by