About 3,240,000 results
Open links in new tab
  1. function - Declare function name, inputs, and outputs - MATLAB

    Function with Multiple Outputs Define a function in a file named stat.m that returns the mean and standard deviation of an input vector.

  2. Function Creation - MATLAB & Simulink - MathWorks

    Function Precedence Order To determine which function to call when multiple functions in the current scope have the same name, MATLAB uses function precedence order. Update Code for R2019b …

  3. Create Functions in Files - MATLAB & Simulink - MathWorks

    The body of a function can include valid MATLAB expressions, control flow statements, comments, blank lines, and nested functions. Any variables that you create within a function are stored within a …

  4. at symbol - Create anonymous functions and function handles, call ...

    The at symbol (@) creates handles to anonymous and named functions, and is also used to call superclass methods from within a subclass.

  5. Types of Functions - MATLAB & Simulink - MathWorks

    There are several types of functions available with MATLAB, including local functions, nested functions, private functions, and anonymous functions.

  6. power - Element-wise power - MATLAB - MathWorks

    This MATLAB function raises each element of A to the corresponding powers in B.

  7. arguments - Declare function argument validation - MATLAB

    Functions can include only one repeating input arguments block. If the function includes both repeating and name-value arguments, declare name-value arguments in their own, separate arguments block …

  8. MATLAB Basic Functions Reference ... Tasks (Live Editor) Live Editor tasks are apps that can be added to a live script to interactively perform a specific set of operations. Tasks represent a series of …

  9. Function Handles - MATLAB & Simulink - MathWorks

    A function handle is a MATLAB ® data type that represents a function. A typical use of function handles is to pass a function to another function. For example, you can use function handles as input …

  10. diff - Differences and approximate derivatives - MATLAB

    Aug 9, 2025 · This MATLAB function calculates differences between adjacent elements of X.