Introduction To Matlab-Lecture 1
Introduction To Matlab-Lecture 1
Introduction To Matlab-Lecture 1
Presented by
Z. L. A
What is Matlab?
Command
History
Preparation Before Font Name Font size
Basic Command
No Command Description
1 clc Clear screen
2 clear Clear all variables in the workspace
3 close all Close all figures
4 quit or exit Exit Matlab
5 % comment
6 edit Open Matlab script editor
Is Matlab calculator?
Let
At first, we introduce a simple
calculation of volume of sphere.
(v=4/3 πr3)
Formula to be calculate:
v=4/3 πr3, r = 2
Result is v = 33.5103
Is Matlab calculator?
Next,
Formula : t = (1/(1+px))^k ,
p, x, k are scalars.
V = pi*r*r*h;