June 2019
Beginner
553 pages
17h 41m
English
It is possible to extend MATLAB by adding your own programs. MATLAB programs are all given the extension .m and are referred to as M-files. There are two basic types of M-files.
Script files are files that contain a series of MATLAB commands. All the variables used in these commands are global, and consequently the values of these variables in your MATLAB session will change every time you run the script file. For example, if you wanted to determine the nullity of a matrix, you could create a script file nullity.m containing the following commands:
Entering the command nullity would cause the two lines of code in the script file to be executed. The disadvantage of determining the nullity ...
Read now
Unlock full access