MATLAB,
on opening, shows 2 screens, one of which is the command window and the other
is the editor.
The
command window is used to execute all the commands, while the editor is used to
write your code.
When
some basic commands are entered on the command window, a result corresponding
to the command is displayed. The command window can perform basic operations
like addition, subtraction, multiplication, division, logarithm etc.
">>"
is known as the command prompt. It appears automatically on every new line in
the command window.
For example,
when we enter "2+3" in the command window, the value 5 will be
assigned to a variable.
"Ans"
is a default variable, and the value is assigned to this variable if no other
is specified.
>>2+3
>>Ans
=
>>
5