File Exchange

image thumbnail

Raman spectroscopy to screen diabetes mellitus

version 1.0.1 (12.6 KB) by Edgar Guevara
Raman spectroscopy is used non-invasively to screen diabetic patients, using ANN, PCA & SVM


Updated 03 Dec 2018

View Version History

GitHub view license on GitHub

This script pre-processes the spectra to reproduce Fig. 1 of our paper:
Guevara, E., Torres-Galván, J. C., Ramírez-Elías, M. G., Luevano-Contreras, C., & González, F. J. (2018). Use of Raman spectroscopy to screen diabetes mellitus with machine learning tools. Biomedical Optics Express, 9(10), 4998–5010.

The dataset of our work where the application of portable Raman spectroscopy coupled with several supervised machine-learning techniques, is used to discern between diabetic patients (DM2) and healthy controls (Ctrl), with a high degree of accuracy. Download dataset from:

Cite As

Edgar Guevara (2021). Raman spectroscopy to screen diabetes mellitus (, GitHub. Retrieved .

Comments and Ratings (2)

Edgar Guevara

Dear @Pedro,
Thanks for pointing out this issue, the missing files were added to the auxiliary code needed to run this example:


Excellent work! You forget the subroutine removenan in your zip file.
Even so, I was capable of using in my application. Thank you, shortly I will cite your paper.

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!