Can any one tell me how i convert analoge signal (Excel file captured from data aquisiton system) to digital form by Matlab
Mostrar comentarios más antiguos
Matlab code for ADC
Respuestas (2)
ES
el 11 de Abr. de 2014
do an xlsread and get the data from Excel File.
Clean Data if needed (removing NaN etc)
Write a quantizer to get digital signals!!
eg:
SignalLowLimit=-10;
SignalHighLimit=10;
NoOfLevels=32;
LevelWidth=(SignalHighLimit-SignalLowLimit)/NoOfLevels;
then run a forloop over your signal, check the value+-LevelWidths and convert it to binary use dec2bin
Walter Roberson
el 11 de Abr. de 2014
0 votos
If it is in an Excel file in captured form then it is already in digital form. See xlsread() to read the file.
Categorías
Más información sobre Data Import from MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!