MATLAB environment behaves like a super-complex calculator. You can enter commands at the >> command prompt.
MATLAB is an interpreted environment. In other words, you give a command and MATLAB executes it right away.
Hands on Practice
Type a valid expression, for example,
5 + 5
And press ENTER
When you click the Execute button, or type Ctrl+E, MATLAB executes it immediately and the result returned is:
ans = 10
Let us take up few more examples:
3 ^ 2 % 3 raised to the power of 2
When you click the Execute button, or type Ctrl+E, MATLAB executes it immediately and the result returned is:
ans = 9
Click Here To Watch Video..!
MATLAB is an interpreted environment. In other words, you give a command and MATLAB executes it right away.
Hands on Practice
Type a valid expression, for example,
5 + 5
And press ENTER
When you click the Execute button, or type Ctrl+E, MATLAB executes it immediately and the result returned is:
ans = 10
Let us take up few more examples:
3 ^ 2 % 3 raised to the power of 2
When you click the Execute button, or type Ctrl+E, MATLAB executes it immediately and the result returned is:
ans = 9
Click Here To Watch Video..!
No comments:
Post a Comment