1,340 results
Open links in new tab
  1. function - Declare function name, inputs, and outputs - MATLAB

    This MATLAB function declares a function named myfun that accepts inputs x1,...,xM and returns outputs y1,...,yN.

  2. Function Creation - MATLAB & Simulink - MathWorks

    Functions contain one or more sequential commands and can accept inputs and return outputs. When you have multiple lines of …Read more

  3. 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 …Read more

  4. How to create a function in MATLAB - GeeksforGeeks

    May 6, 2021 · A function is a block of statements that intend to perform a specific task. Functions allow the users to reuse the code …Read more

  5. Functions in MATLAB - GeeksforGeeks

    Aug 16, 2021 · These functions reside in subfolder and accessible to the parent folder and private folder itself. Now let's dive into …Read more

  6. Examples of MATLAB functions

    Examples of MATLAB functions Some very short, simple functions: square.m Calculates the square of a number. cube.m Calculates …Read more

  7. How to Call a Function in MATLAB: Simple Walkthrough - wikiHow

    Mar 6, 2025 · How to Call a Function in MATLAB Start your script with function followed by the name you want to assign it. After …Read more

  8. Easy Guide to MATLAB Functions for Beginners - YouTube

    Nov 13, 2025 · Description:Learn how to create and use functions in MATLAB step-by-step! 🚀In this tutorial, we explain what functions …Read more

  9. Functions - MATLAB & Simulink - MathWorks

    MATLAB ® includes a wide range of predefined functions for computational tasks. For basics on how to call these functions, see …Read more

  10. Writing and Using Functions - University of British Columbia

    The most common example of this in Matlab is when you want to optimize a function. For example, suppose we use the minFunc …Read more