Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Finding the best part of vector in many samples.

1 view (last 30 days)
I have a mass spectrometry data. This data are arranged in two columns. The rows are about 6 thousand size. The first row is the X axis of the spectrum (mass) and the second is the Y axis of the spectrum (intensity) There are about 11 thousand samples. I need to scan all the samples in order to find such a part of X scale which will occur the most in all the samples. Then i need to interpolate this samples (Y values) which have other vector X than the best one. My question is how to find in Matlab the best part of vector through all the samples. Is there any useful function or do you have any helpful idea. To sum up after all the preprocessing I would like to have one unique X axis and the same number of Y axis as before the operation. Thanks a lot.
  3 Comments
Jonasz
Jonasz on 6 Aug 2013
Edited: Jonasz on 6 Aug 2013
Eg.
First Column (M/Z) Second Column (Intensity)
500 230
501 352
... ...
x 6000 thousand
Such a txt files I have 11 thousand. I need to find such a part of First Column which appear through all this samples (11 thousand) the most. Eg. part between 600- 2000 is appearing 5 thousand times so I choose this one and cut this part from others in order to compare samples between each other

Answers (0)

This question is closed.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!