Skip to main content
Contents Index
Search Book
Search Results:
No results.
Calculator
Read aloud
Readability settings Prev Next Profile
title here
\(\require{mathtools}\newcommand\DLGray{\color{Gray}}
\newcommand\DLO{\color{BurntOrange}}
\newcommand\DLRa{\color{WildStrawberry}}
\newcommand\DLGa{\color{Green}}
\newcommand\DLGb{\color{PineGreen}}
\newcommand\DLBa{\color{RoyalBlue}}
\newcommand\DLBb{\color{Cerulean}}
\newcommand\ds{\displaystyle}
\newcommand\ddx{\frac{d}{dx}}
\newcommand\os{\overset}
\newcommand\us{\underset}
\newcommand\ob{\overbrace}
\newcommand\obt{\overbracket}
\newcommand\ub{\underbrace}
\newcommand\ubt{\underbracket}
\newcommand\ul{\underline}
\newcommand\tikznode[3][]
{\tikz[remember picture,baseline=(#2.base)]
\node[minimum size=0pt,inner sep=0pt,#1](#2){#3};
}
\newcommand\del{\nabla}
\newcommand\R{\mathbb{R}}
\newcommand\C{\mathcal{C}}
\newcommand\N{\mathcal{N}}
\newcommand\eps{\varepsilon}
\renewcommand\epsilon{\varepsilon}
\renewcommand\subset{\subseteq}
\newcommand\norm[1]{\|{#1}\|}
\newcommand\matrixbrackets[4][1]{
\draw (#3,#2) -- (\fpeval{#3+0.2},#2);
\draw (#3,#1) -- (#3 ,#2);
\draw (#3,#1) -- (\fpeval{#3+0.2},#1);
\draw (#4,#2) -- (\fpeval{#4-0.2},#2);
\draw (#4,#1) -- (#4 ,#2);
\draw (#4,#1) -- (\fpeval{#4-0.2},#1);
}
\tikzstyle{circle node 0}=[fill=white, draw=black, shape=circle, inner sep=0pt]
\tikzstyle{circle node 2}=[fill=white, draw=black, shape=circle, inner sep=2pt]
\tikzstyle{hrect node 0}=[fill=white, draw=black, inner sep=2pt, outer sep=0pt]
\tikzstyle{hrect node 2}=[fill=white, draw=black, inner sep=2pt, outer sep=2pt]
\tikzstyle{hrect node 3}=[fill=white, draw=black, inner sep=2pt, outer sep=3pt]
\tikzstyle{vrect node 0}=[fill=white, draw=black, inner sep=0pt, outer sep=0pt]
\tikzstyle{vrect node 2}=[fill=white, draw=black, inner sep=0pt, outer sep=2pt]
\tikzstyle{vrect node 3}=[fill=white, draw=black, inner sep=0pt, outer sep=3pt]
\tikzstyle{hidden node 0}=[inner sep=0pt, outer sep=0pt]
\tikzstyle{hidden node 2}=[fill=white, inner sep=2pt, outer sep=2pt]
\tikzstyle{rect node 1}=[fill=white, inner sep=2pt, outer sep=0pt]
\tikzstyle{rect node 2}=[fill=white, draw=black, inner sep=2pt, outer sep=0pt]
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
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.