Chapter 1 Vocabulary Flashcards
Document Window
A window that displays MATLAB files and allows the user to edit or debug them
Workspace Browser
A window that displays the names and values of variables stored in the MATLAB Workspace
Current Folder Browser
A window that displays the names of files in the current directory. If a file is selected in the Current Folder Browser, details about the file will appear in the Details Window
Command History Window
A window that displays recently used commands, accessed by clicking the up arrow when typing in the Command Window
Path Browser
A tool to display the MATLAB search path, accessed by clicking the Set Path button
Help Browser
A tool to get help for MATLAB functions, accessed by clicking the Help button
Command Window
A window where the user can type commands and see immediate results
The Toolstrip
A strip across the top of the desktop containing icons to select functions and tools, arranged in tabs and sections of related functions.
Figure Window
A window that displays a MATLAB plot
MATLAB is short for
Matrix Laboratory
MATLAB has many advantages compared to conventional computer languages for technical problem solving. What is NOT an advantage?
Low Cost
Some disadvantages of MATLAB are
Cost
It is an interpreted language, therefore it can execute more slowly than compiled languages.
What is the fundamental unit of data in any MATLAB program?
Array
If a statement is too long to type on a single line, it may be continued in successive lines by typing an ________ at the end of the first line, and then continuing on the next line.
Ellipsis
Instead of typing commands directly in the Command Window, a series of commands can be placed into a file, and the entire file can be executed by typing its name in the Command Window. Such files are called__________ files.
Script
What command will print (in the command window) a list of the variables and arrays in the current workspace?
Whos
The contents of the current workspace can be examined with the ________ which appears, by default, on the______ hand side of the desktop.
GUI-based Workspace Bowser
Right
What are the 3 ways to get help in MATLAB?
Help Browser
Lookfor command
Help command
The contents of the current figure window can be cleared at any time using the ________ command.
Clf
(clear the contents of the current figure window)
In an event that a script is running an infinite loop, the user can use the _______ command to halt the process and regain control.
Abort
What happens if you define a variable with the same name as a MATLAB function or command?
That function or command becomes inaccessible
If the user creates a script or function with the same name as a MATLAB function or command, which command will MATLAB prefer and execute?
The user defined script or function
MATLAB includes the ______ command to help you find out just which version of a file is being executed, and where it is located. This can be useful in finding file name conflicts.
Which command
What happens every time a new expression without an equal sign is typed into the command window and evaluated?
MATLAB will evaluate it and store the result in a special variable called ans that is overwritten every time a new expression is typed without an equal sign.