How to resample spectral data?
9 views (last 30 days)
Show older comments
I have two spectral datasets which each have different number of spectra (50 and 1080) and differing number of data points within each spectrum (1352 and 582). So two matrices 1080x582 and 50x1352. Each spectrum has an x-axis whichr runs from 450 to 1800 wavenumbers. However the 50x1352 dataset has a greater sampling rate, hence the 1352 data points between 450-1800 wavenumbers. I would like to down sample this data set to have 582 data points between these wave numbers but retain spectral information accurately, e.g. peak positions. I have tried the resample function y=resample(X, 43,100), whcih produces the correct number of data points for each spectrum (582) however the peak positions are no longer correct. Is there a simple solution to this?
0 Comments
Answers (0)
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!