MATLAB Functions

Downloaded 234 times
Average rating
(0 votes)

The biggest barrier to Igor adoption is usually knowledge of another environment's language. One of these is MATLAB. If a MATLAB users sits down to write Igor code, sometimes they have a hard time figuring out what the equivalent function in Igor is the function they know in MATLAB. And even if they find that function, if they haven't programmed in Igor, they might get stuck on the syntax.

The purpose of this project is to give the novice Igor user with MATLAB familiarity a library of Igor functions with the same names as the eponymous MATLAB functions. These functions will wrap Igor code to both achieve the desired functional result, and to allow the user to inspect the code to see how things are done in Igor. In the long run, they can learn to write their own Igor code faster and more efficiently.

All Igor users who have knowledge of MATLAB are invited to participate in building this library. Contributors are invited to ask me (rgerkin) for SVN access, or alternatively to send me code snippets directly that I can incorporate myself. The standard form would be something like:

static function plot(wX,wY)
wave wX,wY
display wY vs wX
end

The functions will be part of a module named MATLAB, so there is no need to add any special prefix or suffix to the function names. They will be available from the command line and all other procedure files by calling e.g. MATLAB#plot(wX,wY).

Releases

There are currently no releases for this project.



Back to top