Table of Contents
What is Matlab – Matlab Programming Language
What is Matlab ?
MATLAB is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions are expressed in familiar mathematical notation.
Typical uses include:
- Math and computation
- Algorithm development
- Modeling, simulation, and prototyping
- Data analysis, exploration, and visualization
- Scientific and engineering graphics
- Application development, including Graphical User Interface building
MATLAB is an interactive system whose basic data element is an array that does not require dimensioning. This allows you to solve many technical computing problems, especially those with matrix and vector formulations, in a fraction of the time it would take to write a program in a scalar noninteractive language such as C or Fortran.
The name MATLAB stands for matrix laboratory. MATLAB was originally written to provide easy access to matrix software developed by the LINPACK and EISPACK projects, which together represent the state-of-the-art in software for matrix computation.
MATLAB has evolved over a period of years with input from many users. In university environments, it is the standard instructional tool for introductory and advanced courses in mathematics, engineering, and science. In industry, MATLAB is the tool of choice for high-productivity research, development, and analysis.
MATLAB features a family of application-specific solutions called toolboxes. Very important to most users of MATLAB, toolboxes allow you to learn and apply specialized technology. Toolboxes are comprehensive collections of MATLAB functions (M-files) that extend the MATLAB environment to solve particular classes of problems. Areas in which toolboxes are available include signal processing, control systems, neural networks, fuzzy logic, wavelets, simulation, and many others.
The MATLAB System
The MATLAB system consists of five main parts:
The MATLAB language.
This is a high-level matrix/array language with control flow statements, functions, data structures, input/output, and object-oriented programming features. It allows both “programming in the small” to rapidly create quick and dirty throw-away programs, and “programming in the large” to create complete large and complex application programs.
The MATLAB working environment.
This is the set of tools and facilities that you work with as the MATLAB user or programmer. It includes facilities for managing the variables in your workspace and importing and exporting data. It also includes tools for developing, managing, debugging, and profiling M-files, MATLAB’s applications.
Handle Graphics.
This is the MATLAB graphics system. It includes high-level commands for two-dimensional and three-dimensional data visualization, image processing, animation, and presentation graphics. It also includes low-level commands that allow you to fully customize the appearance of graphics as well as to build complete Graphical User Interfaces on your MATLAB applications.
The MATLAB mathematical function library.
This is a vast collection of computational algorithms ranging from elementary functions like sum, sine, cosine, and complex arithmetic, to more sophisticated functions like matrix inverse, matrix eigenvalues, Bessel functions, and fast Fourier transforms.
The MATLAB Application Program Interface (API).
This is a library that allows you to write C and Fortran programs that interact with MATLAB. It include facilities for calling routines from MATLAB (dynamic linking), calling MATLAB as a computational engine, and for reading and writing MAT-files.
What is the programming language for MATLAB ?
MATLAB is a programming language in and of itself.
However, various parts of MATLAB and the associated development environment are written in C (the core framework), C++ (I know that the Parallel computing part is written in C++, I assume other parts are as well) and Java (most of the interfaces).
Historically, MATLAB was written in FORTRAN, and this legacy still manifests itself in several ways today (indexing starting at 1 is a prime example).
MATLAB can also call functions written in a large number of other languages — on top of those already mentioned, it can run code written in C#, Python and Perl — I think there’s also support for interfacing with Mathematical as well.
Matlab is a product of Matworks. It is a simulation tool. Matlab is a programming language to perform simulation.
Though whole product Matlab is developed on Java platform. It is is higher level language. Due to its advanced cross compiler. It can transfer Matlab code into other languages.
SO, once user has completed its work in Matlab is can generate .dll files, C,C++, Java codes of its language. And those files can be used in other software as library files also.
Main purpose of Matlab is to make the simulation work platform independent.
Recent Posts
Mechanical Engineering is an essential discipline of engineering encompassing many specializations, with each contributing its unique aspect to the dynamic and inventive nature of this field. With...
The Ram Lalla idol, which is installed at Ayodhya's Ram temple has many significant religious symbols from Hinduism. All 10 incarnations of Lord Vishnu are engraved on the idol. Notably, Lord Ram is...