About 307,000 results
Open links in new tab
  1. 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 …

  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 …

  3. Anonymous Functions - MATLAB & Simulink - MathWorks

    Many MATLAB ® functions accept function handles as inputs so that you can evaluate functions over a range of values. You can create handles either for anonymous functions or for functions …

  4. tf - Transfer function model - MATLAB - MathWorks

    Use tf to create real-valued or complex-valued transfer function models, or to convert dynamic system models to transfer function form.

  5. global - Declare variables as global - MATLAB - MathWorks

    Ordinarily, each MATLAB ® function has its own local variables, which are separate from those of other functions and from those of the base workspace. However, if several functions all …

  6. plot - 2-D line plot - MATLAB - MathWorks

    This MATLAB function creates a 2-D line plot of the data in Y versus the corresponding values in X.

  7. linspace - Generate linearly spaced vector - MATLAB

    This MATLAB function returns a row vector of evenly spaced points between x1 and x2.

  8. fplot - Plot expression or function - MATLAB - MathWorks

    This MATLAB function plots the curve defined by the function y = f(x) over the default interval [-5 5] for x.

  9. integral - Numerical integration - MATLAB - MathWorks

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

  10. meshgrid - 2-D and 3-D grids - MATLAB - MathWorks

    This MATLAB function returns 2-D grid coordinates based on the coordinates contained in vectors x and y.