MATLAB basics 10 - function files

Опубликовано: 16 Июнь 2026
на канале: John Rossiter
1,258
9

A core requirement in the long term is to save validated code for reuse later. In order to ensure this code cannot interfere with other code and computations, the recommended format is a function file which takes given inputs, executes a specifed sequence of commands (algorithm) on these, and produces the required output. This resource introduces the function file syntax and provides several illustrations and exemplars.

Lectures aimed at engineering undergraduates. Presentation focuses on understanding key prinicples, processes and problem solving rather than mathematical rigour.