In this session and next two ones we are examining functions and M-files that you will find useful, when you are developing your own programs.
MATLAB enables you to create your own function M-files. A function M-file is similar to a script file in that it also has a .m extension. However, a function M-file differs from a script file in that a function M-file communicates with the MATLAB workspace only through specially designated input and output arguments.
Functions are indispensable when it comes to breaking a problem down into manageable logical pieces.
Short mathematical functions may be written as one-line inline objects.
Function M-Files, Part 1
Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.
Educator.com recommends MATLAB and Simulink to use with our MATLAB course. MATLAB - Solve numerical problems quickly, so you can focus on coursework and projects rather than programming. Simulink - Model, simulate, and analyze dynamic systems. Target hardware support - Run Simulink models on Arduino, LEGO MINDSTORMS NXT, Raspberry Pi, and other hardware. 10 add-on products for math, statistics, and optimization; controls; signal and image processing; and test and measurement. The package includes a software activation key with instructions to download and install Student Version from www.mathworks.com