Appendix IMATLAB® Introduction

A MATLAB icon. On a Windows‐based computer with MATLAB® software installed, you can double‐click on the MATLAB icon (like the one on the right side) to start MATLAB. Once MATLAB has been started, you will see the MATLAB desktop as shown in Figure I.1, which has the MATLAB Command window in the lower middle where a blinking cursor appears to the right of the MATLAB prompt ‘>>’ waiting for you to type in MATLAB commands/statements. It also contains other windows each labeled Current Folder, Editor, and Workspace (showing the contents of MATLAB memory).

How do we work with the MATLAB Command window?

  • By clicking on ‘New’/‘Open’ in the groups of functionalities under HOME tab and then selecting an item in their dropdown menus, you can create/edit any file with the MATLAB editor.
  • By typing any MATLAB commands/statements in the MATLAB Command Window, you can use various powerful mathematic/graphic functions of MATLAB.
  • If you have an M‐file which contains a series of commands/statements for performing a target procedure, you can type in the filename (without the extension ‘.m’) to run it.
  • By clicking on ‘Set Path’ in the right part of the toolstrip, you can make the MATLAB search path list include or exclude the paths containing the files you want to or not to be run.
  • By typing a search term like a keyword or a function name into the Search Documentation box at the ...

Get Electronic Circuits with MATLAB, PSpice, and Smith Chart now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.