Total contents of this blog article category: http://www.cnblogs.com/asxinyu/p/4288836.html
MATLAB and C # mixed programming article catalog: http://www.cnblogs.com/asxinyu/p/4329753.html
MATLAB is still the same as the annual release rate of 2 releases. March 2015 r2015a (version 8.5) was officially released. In the new version, there are four new toolboxes and 79 product updates. Many of the new features in MATLAB 2015a are upgraded on the basis of R2014B functionality, including Big data enhancements, new hardware support, and integration documentation for a variety of custom toolboxes. For more details, please visit the below features to learn more about the party features.
1. Key Features
- High-level language for numerical computing, visualization, and application development
- Interactive environment for iterative exploration, design, and problem solving
- Mathematical functions for linear algebra, statistics, Fourier analysis, screening, optimization, numerical integration, and solution of ordinary differential equations
- Built-in graphics for data visualization and tools for creating custom drawings
- Development tools for improving code quality and maintainability and maximizing performance
- Tools for building custom graphical interface applications
- Functions that enable MATLAB-based algorithms to be integrated with external applications and languages such as C, Java,. NET, and microsoft®excel®
This text address: http://www.cnblogs.com/asxinyu/p/4374787.html
2. Numerical calculation
MATLAB provides a series of numerical methods for analyzing data, developing algorithms, and creating models. The MATLAB language includes mathematical functions to support common engineering and scientific operations. The core mathematical function uses the processor to optimize the library, can perform the vector operation and the matrix operation quickly.
The specific methods to be used include:
- Interpolation and regression
- Differential and Integral
- Linear Systems
- Fourier analysis
- Eigenvalues and singular values
- Ordinary differential equation (ODE)
- Sparse matrices
MATLAB add-ons provide functions in a variety of areas of specialization, such as statistics, optimization, signal analysis, and machine learning.
3. Analysis and visualization of data
MATLAB provides tools for data collection, analysis, and visualization, enabling you to drill down into your data and save a lot of time compared to using spreadsheets or traditional programming languages. In addition, you can record and share results in the form of drawing, reporting, or publishing MATLAB code.
3.1 Collecting data
With MATLAB, you can access data from files, other applications, databases, and external devices. You can read data from a variety of commonly used file formats, such as Microsoft Excel, text or binary files, images, voice and video files, and scientific files such as NetCDF and HDF. With file I/O functions, you can work with data files in any format.
By using MATLAB with additional products, you can obtain data from hardware devices such as computer serial ports or sound cards, and import data from real-time measurements into MATLAB for analysis and visualization. In addition, communication can be achieved with various instruments such as oscilloscopes, function generators, and signal analyzers.
3.2 Analyzing data
With MATLAB, data can be managed, screened, and preprocessed. You can perform exploratory data analysis, uncover trends, test assumptions, and build descriptive models. MATLAB provides a variety of functions that can be used for filtering and smoothing, interpolation, convolution, and fast Fourier transform (FFT). Various additional products provide a variety of functions that can be used for curve and surface fitting, multivariate statistics, spectrum analysis, image analysis, system identification, and other analytical tasks.
3.3 Visualize your data
MATLAB provides built-in two-and three-dimensional mapping functions, as well as stereoscopic visualization functions. Using these functions, you can visualize data, understand data, and communicate results. When you customize a drawing, you can either interact with it or use it programmatically. The MATLAB legend Gallery provides various examples of graphically displaying data in MATLAB. In each example, the source code can be viewed and downloaded for use in MATLAB applications.
3.4 Archiving and sharing results
You can share the results in a graphical or full-report manner. By customizing MATLAB graphics, you can conform to the publication specifications and save them as common graphics and data file formats. When you execute a MATLAB program, you can generate reports automatically. The generated report contains code, comments, and program results, including graphics. Reports can be published in a variety of formats, such as HTML, PDF, Word, or LaTeX.
4. Programming and algorithmic development
MATLAB provides a high-level language and development tool that enables you to quickly develop and analyze algorithms and applications.
4.1 MATLAB language
The MATLAB language provides intrinsic support for vector operations and matrix operations, which are the basis for solving engineering and scientific problems, enabling rapid development and execution. Using the MATLAB language, programming and developing algorithms are significantly faster than using traditional languages because of the need to perform low-level administrative tasks such as declaring variables, specifying data types, and allocating memory. In many cases, support vector operations and matrix operations do not need to use a for loop. Therefore, a line of MATLAB code is usually equivalent to several lines of C code or C + + code.
MATLAB offers a number of features in traditional programming languages, including flow control, error handling, and object-oriented programming (OOP). You can use either a basic or advanced data structure, or you can define a custom data type. Interactively, execute only one command at a time to generate results on the fly. This approach allows you to quickly explore multiple options and iteratively iterate to find the best solution. By capturing Interactive steps, you build scripts and functions that can be reused, and automate tasks. MATLAB Add-ons offer a variety of built-in algorithms for signal processing and communication, image and video processing, control systems, and many other areas. By using these algorithms in conjunction with their own algorithms, you can build complex programs and applications.
4.2 Development tools
The various tools built into MATLAB enable efficient algorithmic development, including:
- command-line window -Ability to interactively enter data, execute commands and programs, and display results
- MATLAB Editor -provides editing and debugging functions, such as setting breakpoints and stepping through each line of code
- Code Analyzer -automatically checks for problems with code and suggests modifications to maximize performance and maintainability
- matlab Profiler – Measure the performance of your MATLAB program and identify areas of code that need to be modified for improvement
Other tools can compare code and data files, and provide reports that show file dependencies, comment hints, and code coverage.
4.3 Integration with other languages and applications
MATLAB applications can be integrated with applications written in other languages. In MATLAB, code written in C, C + +, Java, and. NET can be called directly. Using the MATLAB engine library, you can invoke MATLAB code from C, C + +, or Fortran applications.
4.4 Performance
MATLAB uses a processor-optimized library to perform matrix operations and vector operations quickly. For general-purpose scalar computations, MATLAB uses its immediate (JIT) compilation technology to provide a speed of execution comparable to that of a traditional programming language. To make full use of multicore and multiprocessor computers, MATLAB offers numerous multithreaded linear algebra and numerical functions. These functions can automatically execute multiple compute threads in a single MATLAB session, allowing for faster execution on multicore computers. With additional parallel computing products, you can take advantage of multicore desktops and other high-performance computing resources, such as GPUs and clusters. These products offer high-level constructs that enable parallelization of the application with only a few changes to the MATLAB code.
5. Development and deployment of applications
MATLAB Tools and additional products provide a range of options for developing and deploying applications. You can share individual algorithms and applications with other MATLAB users, or you can implement royalty-free deployments to other users who do not have MATLAB.
5.1 Designing the Graphical user interface
Using the Guide (graphical user interface development environment), you can lay out, design, and edit custom graphical user interfaces. You can include common controls, such as list boxes, drop-down menus, and buttons, or include MATLAB drawings. In addition, you can use MATLAB functions to programmatically create a graphical user interface.
5.2 Deployment of applications
To distribute an application directly to other MATLAB users, you can package it as a MATLAB application to achieve single-file distribution. The application is automatically installed in the MATLAB application library for easy access. To share an application with others who do not have MATLAB, you can use the application to deploy the product. These additional products automatically generate standalone applications, shared libraries, and software components for integration with C, C + +, Java,. NET, and Excel environments. Executables and components can be distributed free of charge. Matlab Production Server™ enables you to run MATLAB compiler™ packaged MATLAB programs within your production system to incorporate numerical analysis into the WEB, database, and enterprise applications.
5.3 Generating C Code
With Matlab Coder™, you can generate separate C code from MATLAB code. Matlab Coder supports a subset of the MATLAB language, which is commonly used by design engineers to develop algorithms for large system components. This code can be used for standalone execution, integration with other software applications, or as part of an embedded application.
6. Resources
MATLAB® is a high-level language and interactive environment favored by millions of of engineers and scientists worldwide. You can explore ideas, visualize, and collaborate across disciplines, including signal and image processing, communications, control systems, and computational finance.
The latest versions of MATLAB 2015a are available in 32 and 64-bit versions. File large, want to taste the friends, can be through the following ways:
1. Formal academic and commercial approaches. At present, some universities in China have concentrated on purchasing the copyright of MATLAB, can go to their own schools to check, if so, can be obtained through regular channels;
2.Matlab official seems to also provide student version, their own registration download to see, may be more troublesome;
3. Is the so-called informal approach, their own use of search engines to see, mad Search, will be effective, there is cracked version;
4. As to other means, if necessary, it should be understood that it will be effective before 12 o'clock noon March 30.
"Share" Matlab r2015a released!