1.3: What is MATLAB?

Fundamentals of MATLAB Programming · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under CC BY-NC-SA, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    1.3: What is MATLAB?

    The name MATLAB comes from MATrix LABoratory. The name is a helpful clue: MATLAB was originally designed around matrices, and matrices are still central to how MATLAB stores and processes information. In fact, even a single number in MATLAB is treated as a 1 by 1 array.

    MATLAB is a high-level language for technical computing. A high-level language uses commands that are closer to human language than to machine code. For example, commands such as plot, clear, help, and sqrt are easier to understand than a long sequence of 1s and 0s.

    Language type

    Main idea

    Examples

    High-level language

    Uses words and symbols that are easier for humans to understand.

    MATLAB, Python

    Low-level language

    Closer to the instructions directly understood by the computer hardware.

    Machine code, assembly language

    Compiled language

    The entire program is translated before it is executed.

    C, C++, Fortran

    Interpreted language

    Statements are read and executed one at a time.

    MATLAB, Python

    Note

    MATLAB as an interpreted language: Because MATLAB is interpreted, you can type a command and see the result immediately. This makes MATLAB very friendly for learning, experimenting, and debugging. The tradeoff is that interpreted languages can be slower than compiled languages for some large programs.

     

    High level vs. low level language.png

     

     

     

     

     

     

     

     

     

     

     

     

     


    This page titled 1.3: What is MATLAB? was last modified on Mon, 13 Jul 2026 16:20:59 GMT and is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by Zara Noroozi.