About 122,000 results
Open links in new tab
  1. Functions - MATLAB & Simulink - MathWorks

    Code that accepts inputs and returns outputs. MATLAB ® includes a wide range of predefined functions for computational tasks. For basics on how to call these functions, see Calling Functions. As you …

  2. MATLAB - Functions - Online Tutorials Library

    A function is a group of statements that together perform a task. In MATLAB, functions are defined in separate files. The name of the file and of the function should be the same.

  3. MATLAB MATLAB-Function-Syntax | Coddy Reference

    Learn MATLAB function syntax with this comprehensive guide. Discover how to define, structure, and use functions in MATLAB for efficient programming.

  4. A Complete Guide To Matlab Functions - Simplilearn

    Aug 23, 2025 · Matlab functions are important that allow you to create repeatable codes. In this article, we will understand Matlab Functions in detail. Click here to learn more.

  5. function - Declare function name, inputs, and outputs - MATLAB

    This declaration statement must be the first executable line of the function. Valid function names begin with an alphabetic character, and can contain letters, numbers, or underscores.

  6. Writing and Using Functions - University of British Columbia

    In Matlab, executing functions is faster than executing scripts. To create your own function, open a new file in the editor by typing edit filename.m and begin by creating the function header, which includes …

  7. 4.5: User Defined Functions - Engineering LibreTexts

    Aug 5, 2025 · This page introduces the concept of functions in mathematics and MATLAB, emphasizing their structure, utility, and efficiency in coding. It explains the creation and use of user-defined …

  8. Functions in MATLAB - GeeksforGeeks

    Aug 16, 2021 · MATLAB syntax is quite peculiar compared to other programming languages. We can return one or more values from a function. We can also pass one or more arguments/variables while …

  9. Mastering MATLAB Functions: Step-by-Step Tutorial with Examples

    May 16, 2023 · Mastering MATLAB Functions: Step-by-Step Tutorial with Examples Functions are a fundamental concept in MATLAB programming. They allow you to encapsulate a series of …

  10. MATLAB Lesson 4 - Functions - UNSW Sites

    MATLAB contains all the standard mathematical functions and many more. Many MATLAB functions also accept input arguments which are vectors, evaluating the function at each element of the input …