Topic outline

  • Module 5Module 5 - Function M-Files

    Learning Objectives/Outcomes

    By the end of this module you will be able to:

    • Understand the purpose of function M-files
    • Create a function M-file
    • Apply commands that operate on functions, such as fzero and fplot.
    • Create function files from provided code.

     

    Activities

    To help you master this topic we have a series of activities for you to complete over a 1 week period. Please allow at least hours to complete these activities. All links will open in a new window.

     

    1READING
    Read Section 6 of Introduction to MATLAB. If you have any questions about function m-files within MATLAB, please raise this in this discussion forum.

     

    2DEMONSTRATION
    Watch these demonstration videos. MATLAB notes are available. 

    Please raise any questions in this discussion forum.

     

    3PRACTICAL
    Your practical provides you with an opportunity to create commands that work on functions, that is Function m-files. If you have any questions about this practical, please raise this in this discussion forum. Create a response document using this template. Submit your completed response document for formative feedback.