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
on your Windows desktop. Another way of starting up MATLAB is
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
2. Click x from the upper right corner of MATLAB interface
3. Press Alt+F4 and confirm
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 includes the MATLAB
Desktop and Command Window, a Command History, an Editor and debugger,
and browsers for viewing help, the workspace, files, and the search path.
Mathematical Function Library
This is a vast collection of computational algorithms ranging from elementary
functions like sum, sine, cosine, and complex arithmetic, to more sophisticated
functions like matrix inverse, matrix eigenvalues, Bessel functions, and fast Fourier
transforms.
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 Navigator
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 first two lines on 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 Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
Double Click the Last Command in
the Command History
>> SUM = 8 / (1 1 / 3)