Sir Aslam Lab
Sir Aslam Lab
Lab report: 1
SUBJECT: control system
SUBMITED TO:
Dr.muhammad aslam.
TITLE: INTRODUcTION TO MATH LAB.
OBJEcTIVES:
The objective of the lab is:
1. To know about math lab software.
2. To know about their basic commands.
3. To run different programs on it.
INTRODUTION TO MATH LAB SOFTWARE:
MATLAB is a powerful software tool widely used in various fields such as engineering,
mathematics, physics, finance, and more, for numerical computation, data analysis,
visualization, and algorithm development. It provides an interactive environment for solving
computational problems efficiently.
Overall, MATLAB is a versatile and powerful software tool that provides comprehensive
solutions for numerical computation, data analysis, and algorithm development across various
disciplines. Its user-friendly interface, extensive library of functions, and broad range of
applications make it an indispensable tool for engineers, scientists, researchers, and educators
worldwide.
THE PROGRAM THAT WE RUN ON MATH LAB SOFTWARE:
1. MATLAB VARIABLES:
Suppose we want to calculate the volume of a cylinder.
• It’s radius memory and height are stored as variables in volume
Volume = pi*radius^2*height
Variable is a name given to reserved location in memory.
Addition +
Subtraction -
Multiplication *
: Colon operator
^ Matrix power
Operator description
== Equal to
9. OPERATING ON MATRICES:
10. STRING ARRAYS:
12. SUBPLOTS:
13. 3-D LINE PLOTTING:
THE END!!