Can any one tell me how i convert analoge signal (Excel file captured from data aquisiton system) to digital form by Matlab
Show older comments
Answers (2)
ES
on 11 Apr 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
on 11 Apr 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.
Categories
Find more on Logical 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!