Can any one tell me how i convert analoge signal (Excel file captured from data aquisiton system) to digital form by Matlab
Afficher commentaires plus anciens
Matlab code for ADC
Réponses (2)
ES
le 11 Avr 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
le 11 Avr 2014
0 votes
If it is in an Excel file in captured form then it is already in digital form. See xlsread() to read the file.
Catégories
En savoir plus sur Data Import from MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!