About 3,190,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. 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 …

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

  4. Calling Functions - MATLAB & Simulink - MathWorks

    Calling Functions MATLAB® provides a large number of functions that perform computational tasks. Functions are equivalent to subroutines or methods in other programming languages. …

  5. and - Find logical AND - MATLAB - MathWorks

    This MATLAB function performs a logical AND of inputs A and B and returns an array or a table containing elements set to either logical 1 (true) or logical 0 (false).

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

  7. log - Natural logarithm - MATLAB - MathWorks

    This MATLAB function returns the natural logarithm ln(x) of each element in array X.

  8. diff - Differences and approximate derivatives - MATLAB

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

  9. size - Array size - MATLAB - MathWorks

    This MATLAB function returns a row vector whose elements are the lengths of the corresponding dimensions of A.

  10. integral - Numerical integration - MATLAB - MathWorks

    This MATLAB function numerically integrates function fun from xmin to xmax using global adaptive quadrature and default error tolerances.