MATLAB Environment
MATLAB Environment
MATLAB ENVIRONMENT
SYSTEM REQUIREMENTS
On Windows platforms, MATLAB requires: Windows XP Service Pack 3 or
later, a processor from Intel of AMD x86 supporting SSE2 instruction set, at least
1GB for MATLAB only and at least 1024 MB of memory.
STARTING MATLAB
On Windows platforms, to start MATLAB, double-click the MATLAB shortcut
icon
by looking for the MATLB applications under All Programs of the Windows button.
QUITTING MATLAB
To Close MATLAB application, one can do any of the following:
1. Choose Exit from the File menu
DEVELOPMENT ENVIRONMENT
This is the set of tools and facilities that help you use MATLAB functions and files.
Many of these tools are graphical user interfaces.
It is further
subdivided into different windows: The Command Window, The Workspace and
the Command History
The Command Window
The MATLAB Start Button provides easy access to tools, demos, and
documentations.
The Current Directory
The Current directory is where MATLAB accesses the m-files prepared by the user
and where current works would be saved.
The Array editor appears when a certain variable in the Workspace is selected
and the values of this variable can be changed.
The Help Browser is used to search and view documentation associated with
each MATLAB built-in commands and functions and demos for some MathWorks
products. The Help Browser is a Web Browser integrated into MATLAB desktop
that displays HTML documents.
The Editor/Debugger
The Editor Window is a pop-up window where the programmer can type
MATLAB scripts and functions. It has the option to debug, simulate and run the
program.
Activity 1.1
MATLAB Environment
TOPIC
OBJECTIVES
NAME
ACCT #
TERMINAL#
COURSE /SEC
PROG / YEAR
ROOM
SCHEDULE
FACULTY
INSTRUCTIONS Answer the following items on the space provided.
1. On the command window, write down the what would appear in the
command window upon typing commands:
A >>help tand
List down the properties of the variables A, B and C as seen on the Workspace:
A:
B:
C:
3. In verifying the formula for the infinite progression:
a
S 0
1 r
For the geometric progression with the first term a0 = 8 and common ratio r = 1/3.
Narrate on the right side of the program what is being done
Command Line
Result
Narration
>> S = 8
>> S = 8 +1/3*S
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Double Click the Last
the Command History
Command in
Command in
Command in
Command in
Command in
Command in
Command in
Command in
Command in
Command in
Command in
Command in
Command in
Command in
Command in
>> SUM = 8 / (1 1 / 3)