83,700 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. 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 …Read more

  5. Functions - MATLAB & Simulink - MathWorks

    As you write code, you can define your own functions to reuse a sequence of commands. For instance, create a function in a …Read more

  6. 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

  7. How to create a function in MATLAB - GeeksforGeeks

    May 6, 2021 · Functions allow the users to reuse the code frequently. MATLAB has several predefined functions which are ready to …Read more

  8. Programming with MATLAB: Creating Functions - Software Carpentry

    Jan 7, 2025 · Once we start putting things in functions so that we can re-use them, we need to start testing that those functions are …Read more

  9. MATLAB - Local Functions - Online Tutorials Library

    MATLAB functions serve as reusable code blocks designed to execute particular tasks or computations. They play a crucial role in …Read more

  10. Writing and Using Functions - University of British Columbia

    Functional code is often better organized, and easier to read and understand. Variables inside a function only exist inside the …Read more