base line correction of a non uniformly spaced spectral data points
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
abdul kalam
il 7 Set 2016
Commentato: Luuk van Oosten
il 7 Set 2016
Hi all, Need help in performing baseline correction of a non-uniformly spaced spectral data points.
My values in X column are not equally spaced. I have 22k data points. Initially, they are spaced by 0.02 and finally it reaches to 0.06 units and fluctuate within 0.01 to 0.06. 'msbackadj' function in matlab is unable to execute as a stepsize is not constant.
thank you in advance
0 Commenti
Risposta accettata
Luuk van Oosten
il 7 Set 2016
Modificato: Luuk van Oosten
il 7 Set 2016
Dear Abdul Kalam,
You could resample your non-uniform spaced spectral data to obtain uniform spaced spectral data.
I am guessing your spectra with non-uniform X axis has some kind of Y value associated with it; you can use the msresample function, which allows you to get uniform spaced data.
2 Commenti
Luuk van Oosten
il 7 Set 2016
Are you sure you set the value for uniformity to 'TRUE'? The default value (if not specified) of 'Uniform' is 'FALSE (i.e. your spectrum is not uniformly resampled). Example: If you do the following
[Xout, Intensitiesout] = msresample(X, Intensities, N)
Your resampled signal is still not uniform, because you did not specify that you wanted it uniform. Use the following instead:
[Xout, Intensitiesout] = msresample(X, Intensities, N, 'Uniform', 1)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Multirate Signal Processing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!