Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

conversion from binary to decimal in matlab

Status
Not open for further replies.

annum

Newbie level 4
Joined
Dec 21, 2010
Messages
7
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,311
i have binary data taking 4 bits at a time iam storing data in variable how can i convert data to decimal . command bin2dec asks for a string can anyone help me for command for conversion.
 

If you want to convert 1010 (binary) to decimal : use bin2dec('1010') . Strings should be placed in single quotations.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top