# What is MATLAB and its elements

MATLAB is

*"the language of technical computing"*which perform matrix calculations. It stands for**MAT**rix**LAB**oratory.**Elements:**

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.

**Command Window:**It consists of ">>" and all the command is executed in this window.

*Example:*>>

**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.

**Workspace:**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.**

*Example:***Command History:**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 ]**

*Example:*####
**Current Directory: **It shows the path of the folder in which current files are being saved.

*Example:***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.

**Video Tutorial:**Basic Window of MATLAB.

[…] What is MATLAB and its elements? In this matlab tutorial, we discussed about command window, workspace, command history and command directory. […]

ReplyDelete[…] Also Read: What is MATLAB and its elements? […]

ReplyDelete[…] What is MATLAB and its elements […]

ReplyDelete[…] What is MATLAB and its Elements […]

ReplyDelete[…] What is MATLAB and its elements […]

ReplyDelete