Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Convert 8 bit to 9 bit

Subject: Convert 8 bit to 9 bit

From: eng

Date: 22 Aug, 2012 04:45:25

Message: 1 of 2

Hi every one , Is there method to convert or code 8 binary bit to 9 binary bit ?

Subject: Convert 8 bit to 9 bit

From: Yumnam Kirani

Date: 22 Aug, 2012 08:17:19

Message: 2 of 2

"eng" wrote in message <k11o55$pfl$1@newscl01ah.mathworks.com>...
> Hi every one , Is there method to convert or code 8 binary bit to 9 binary bit ?
I don't think there is a built-in function for that. But it is not difficult. Simply prepend a zero to the 8-bit binary. For example, b='10010011' is an 8-bit binary, then the 9-bit binary is given by b=['0' b];

Yumnam Kirani Singh
Tronglaobi Awang Leikai

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us