Lecture 1
Lecture 1
Introduction
MATLAB stands for MATrix LABoratory.
MATLAB was designed to make matrix computations
particularly easy.
Cleve Moler wrote the first version of MATLAB IN 1970.
MATLAB integrates computation + visualization
+programming in a very easy way to use
SOME Applications (MATLAB)
Math and computation
Programming
Modeling and simulation
Plotting and data representatio
Data analysis, exploration and visualization
Systems and Control
Scientific and engineering graphs
. Menu Bar
The Menu Bar is located at the top of the MATLAB window and provides access
to various operations and tools, organized into menus like:
3. Program Windows
matlab
Copy code
>> x = 5;
>> y = x^2;
>> disp(y)
Editor: A text editor for writing, editing, and saving MATLAB scripts (.m
files). It includes features like syntax highlighting and debugging tools.
Workspace: Displays variables currently in memory, their values, and sizes.
Command History: Keeps a record of all commands entered in the
Command Window.
Current Folder: Shows the contents of the working directory,
allowing you to manage files and folders.
Figure Window: Displays graphical outputs like plots and charts.
Simulink Library Browser: For users working with Simulink,
this window provides access to model components.