Subject: Matlab
Subject: Matlab
Subject: Matlab
Task 01
Submitted By:
Name IFTAKHAR AHMAD
Roll No. 18MT-40
Class Mechanical(4th smester)
Submitted To:
Miss Iram Abdullah
Q No. 01 : Install the matlab on your systems. Write the History of
Matlab.
In this Cleve’s Corner, I’ll describe some milestones in the evolution of MATLAB from
those simple beginnings.
Mathematical Origins
The mathematical basis for the first version of MATLAB was a series of research papers
by J. H. Wilkinson and 18 of his colleagues, published between 1965 and 1970 and later
collected in Handbook for Automatic Computation, Volume II, Linear Algebra, edited by
Wilkinson and C. Reinsch. These papers present algorithms, implemented in Algol 60,
for solving matrix linear equation and eigenvalue problems.
In 1975, four of us—Jack Dongarra, Pete Stewart, Jim Bunch, and myself—proposed to
the NSF another research project that would investigate methods for the development of
mathematical software. A byproduct would be the software itself, dubbed LINPACK, for
Linear Equation Package. This project was also centered at Argonne.
LINPACK originated in Fortran; it did not involve translation from Algol. The package
contained 44 subroutines in each of four numeric precisions.
In a sense, the LINPACK and EISPACK projects were failures. We had proposed
research projects to the NSF to “explore the methodology, costs, and resources required
to produce, test, and disseminate high-quality mathematical software.” We never wrote a
report or paper addressing those objectives. We only produced software.
Historic MATLAB
In the 1970s and early 1980s, I was teaching Linear Algebra and Numerical Analysis at
the University of New Mexico and wanted my students to have easy access to LINPACK
and EISPACK without writing Fortran programs. By “easy access,” I meant not going
through the remote batch processing and the repeated edit-compile-link-load-execute
process that was ordinarily required on the campus central mainframe computer.
So, I studied Niklaus Wirth’s book Algorithms + Data Structures = Programs and
learned how to parse programming languages. I wrote the first MATLAB—an acronym
for Matrix Laboratory—in Fortran, with matrix as the only data type. The project was a
kind of hobby, a new aspect of programming for me to learn and something for my
students to use. There was never any formal outside support, and certainly no business
plan.
This first MATLAB was just an interactive matrix calculator. This snapshot of the start-
up screen shows all the reserved words and functions. There are only 71. To add another
function, you had to get the source code from me, write a Fortran subroutine, add your
function name to the parse table, and recompile MATLAB.
Structural Analysis
Computational Fluid Dynamics
Thermal Analysis
Analysis of composite structures
Industrial Production technology
Control systems
MATLAB is extensively used in Defence, Space technology, Aerospace and Automobile
industries because of its application in modelling and finite element analysis. It is also
used in Mass production industries.
5 : Face Counter
If you try to count a large number of people in a hall, you may take time to count them and
probably also make a mistake. This next project helps count the number of people present
in a meeting hall or classroom at a time. The program logic is also applicable in other
applications including automatic temperature control which depends on the number of
persons in a room. Video camera plays a very important role in this project.