from excel file 12-bit binary signed numbers to decimal values into matlab
Show older comments
Hello sir, I have 12-bit signed binary numbers in excel sheet ( two columns, inphase and quadrature phase components). How do I read the data into matlab and convert into Decimal values? I tried by using xlsread command but those binary numbers reading as decimal values ( it is giving in xEy format). Please help me.....
Thank you.
4 Comments
Guillaume
on 10 Apr 2018
I have 12-bit signed binary numbers in excel sheet
Excel does not have any concept of 12-bit, or signed, or binary number. So that's certainly not what you have in excel.
What exactly do you have in the spreadsheet? Giving us an example spreadsheet (a file, not a screenshot!) would help greatly.
samala rakesh
on 10 Apr 2018
Edited: samala rakesh
on 10 Apr 2018
Ok, the numbers are actually encoded as text (0 and 1 digits).
- sign-magnitude? i.e. -1 is: 100000000001
- one's complement? i.e. -1 is: 111111111110
- two's complement? i.e. -1 is: 111111111111
- something else?
samala rakesh
on 10 Apr 2018
Accepted Answer
More Answers (0)
Categories
Find more on Spreadsheets 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!