In the analysis of VC and MATLAB joint programming < >, analysis of VC and MATLAB joint programming < two > and analysis of VC and MATLAB joint programming < three > simple introduction of VC and MATLAB interface of two ways, Beginners may ask why use VC and MATLAB interface, the essence of the interface is what, this article is an example to answer these two questions.
First to introduce Matlab. The name of Matlab is composed of the first three letters of the Matrix and laboratory two words. That was in the late the 1970s: Professor Cleve Moler, director of computer science at the University of New Mexico, designed a set of "Easy-to-use" interfaces for students to invoke Linpack and Eispack library programs in order to reduce the student's programming burden. This is a FORTRAN written in the embryonic state of MATLAB.
After several years of school spread, in the promotion of little, by Little, Moler, Steve Bangert Cooperation, in 1984 set up a MathWorks company, and the formal to the market matlab. From this point, the kernel of MATLAB is written in C language, and in addition to the original numerical calculation capabilities, but also added to the data map visual function.
Matlab in the form of merchandise, only a few years, with its good openness and operational reliability, so that the original control of the field of closed software packages (such as the British Umist, Sweden's Lund and Simnon, Germany's KEDDC) have eliminated, but instead of MATLAB for the platform to rebuild. In the time to enter the the 1990s, MATLAB has become the international control industry recognized standard computing software.
MATLAB has become the most popular and widely used scientific engineering computing software in the world, it is widely used in automatic control, mathematical operation, signal analysis, image processing, financial analysis and other industries. Because of its powerful calculation and drawing function, a large number of stable and reliable algorithm library and concise and efficient programming language, it has become the de facto standard of mathematical computing tools.
In European and American universities, such as application algebra, mathematical statistics, automatic control, digital signal processing, analog and digital communication, time series analysis, dynamic system simulation, such as textbooks are the content of MATLAB. This has almost become the 90 's textbook and the old version of the distinction between the book mark. There, MATLAB is to study the degree of college students, Master's, doctoral student must master the basic tools.
In the international academia, MATLAB has been recognized as an accurate and reliable standard software for scientific computing. In many international first-class academic journals (especially information science publications) can see the application of MATLAB. In design research units and industrial departments, MATLAB is considered to be the most efficient research, development of the preferred software tools. such as national instruments company signal measurement, analysis software labview,cadence company signal and communication analysis design software SPW, or directly built on the MATLAB, or to MATLAB as the main support. Also such as HP Company's VXI Hardware, TM Company's Dsp,gage company's various hard cards, instruments and so on are receiving the support of MATLAB.
To illustrate the problem, let's take an example: solve the following linear equations: (Figure 1):
Figure 1
The code written in the C language (VC environment) is: (Figure 2)
Figure 2