Skip to main content

Introduction

MATLAB is a programming environment designed for numerical computation, data analysis, and visualization. It is widely used by engineers, scientists, and mathematicians because its syntax closely mirrors the way mathematical problems are written, and because its built-in libraries cover an enormous range of technical tasks; from solving differential equations to processing images and designing control systems. Learning MATLAB gives you a versatile tool that you can apply throughout your academic and professional career.
This introductory chapter covers the following topics:
Installing MATLAB
How to obtain, license, and install MATLAB on your computer.
The MATLAB Desktop
A tour of the MATLAB interface; the Command Window, Workspace panel, Current Folder browser, and Editor.
The Command Window
Using MATLAB interactively as a powerful calculator, understanding operator precedence, and managing the session with commands like clc, clear, and format.
Variables
Storing computed values in named memory locations, following MATLAB’s naming rules, and understanding how assignment differs from a mathematical equation.
By the end of this chapter you will be able to:
  • Install MATLAB and verify that the environment launches correctly.
  • Navigate the MATLAB Desktop and locate the key panels used throughout the course.
  • Enter arithmetic expressions in the Command Window and interpret the results.
  • Create, name, and reassign variables following MATLAB’s naming rules.