What is MATLAB and its elements
MATLAB is “the language of technical computing” which perform matrix calculations. It stands for MATrix LABoratory.
MATLAB mainly consists of four sub-windows i.e. command window, command history, current directory and workspaces.
Figure – Screen capture of MATLAB software showing basic elements.
It consists of “>>” and all the command is executed in this window.
- >>clc %This command is used to clear the screen.
- >>clear all %This command is used to clear the screen as well as to delete all the variables created.
It displays all the variable which is created in the command window. Matrix ‘A’ is the example of variable.
- A = [ 1 2 ; 3 4 ] | Variable A is a matrix of 2 rows and 2 columns.
It contains the list of commands typed in the command window. You can run that command directly by click on it.
- A = [ 1 2 ; 3 4 ]
It shows the path of the folder in which current files are being saved.
- rcecircle.m: rcecircle is the name of the file saved in MATLAB and ‘.m’ extension represents m-files. All the codes written in MATLAB is saved in this file.
Leave your query about Post-01 of Module-I in below mentioned comment box. You can also give your feedback about the post in the comment box. To get regular updates from INFO4EEE subscribe us with your email id and Like our page to get Facebook notifications.