Determination of peak region in array data analysis algorithm

Source: Internet
Author: User

Do data analysis algorithm, using MATLAB algorithm research, using C # for engineering implementation is more appropriate, there is a case, there is an array, after some kind of super-resolution algorithm to get the data points are very sparse, and the peak area becomes high and thin. Therefore, it is necessary to sum up the area, which involves the determination of the peak position, and then the determination of the peak region, it is important to note that the peak position, the valley position, and then the peak area must be determined first.

The idea of MATLAB implementation algorithm is

1, based on the local extremum algorithm to obtain the local extremum array (maxima, minima, maxima index, minimum index) from the original data array ;

2, the maximal value descending arrangement;

3. Find the nearest two minimum index of the index with maximal value , and determine the peak region;

4, the peak region of the original data array summation;

C # Rewriting There are more difficult problems, but can be solved slowly, the following step by step (to be continued)

The content involved is

1. C # Two-dimensional array sorting

2.

Reference documents:

1, the Script House: C # Implementation of the two-dimensional array sorting method

2, Itpub website. NET Technology Blog: C # Implementation of two-dimensional array sorting algorithm (code)

3, Lic. MATLAB local extremum algorithm (code)

Determination of peak region in array data analysis algorithm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.