About 84,400 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. MATLAB Functions - Online Tutorials Library

    Explore the essential MATLAB functions to enhance your programming skills. Learn how to use built-in functions effectively for data analysis and visualization.

  3. MATLAB MATLAB-Function-Syntax | Coddy Reference

    Learn MATLAB function syntax with this comprehensive guide. Discover how to define, structure, and use functions in MATLAB for efficient programming.

  4. Types of Functions in MATLAB Explained With Examples (2025)

    Apr 22, 2025 · This guide walks through each function type with clear examples from real-world scenarios. You will learn how to choose the right function type for your task and combine them to …

  5. A Complete Guide To Matlab Functions - Simplilearn

    Aug 23, 2025 · Matlab functions are important that allow you to create repeatable codes. In this article, we will understand Matlab Functions in detail. Click here to learn more.

  6. Examples of MATLAB functions

    Illustrates how a function can return more than one value. calculate.m Calls a given function with a given single argument. guess_letter.m Plays a guessing game with the user. silly_pi.m Calculate pi by …

  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 use such as sin (), fact (), cos () etc. MATLAB also allows the users to …

  8. Chapter 8: Functions and Function Handles – A Guide to MATLAB for …

    Calling the function in a script is shown in the following example. Within this script, a variable “x” is assigned a value. Then, MATLAB will assign the variable “ y ” a value after completing the operation …

  9. Writing and Using Functions - University of British Columbia

    In Matlab, executing functions is faster than executing scripts. To create your own function, open a new file in the editor by typing edit filename.m and begin by creating the function header, which includes …

  10. Functions in MATLAB - GeeksforGeeks

    Aug 16, 2021 · MATLAB functions must be defined in separate files and function name must match with the file name. Let's also see the few more ways of defining a function as per the user needs. Now …