Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

MATLAB help needed for converting decimal to Characters

Status
Not open for further replies.

kandakatlakaushik

Newbie level 3
Joined
Mar 22, 2010
Messages
4
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
India
Activity points
1,306
Hi,

Can anyone help me in converting decimal numbers to its equivalent ASCII codes using MATLAB? i.e., converting 0-127 to its character representations.

Thanks in advance!
 

blooz

Advanced Member level 2
Joined
Dec 29, 2010
Messages
561
Helped
121
Reputation
242
Reaction score
116
Trophy points
1,343
Location
India
Activity points
4,989
Hi,

Can anyone help me in converting decimal numbers to its equivalent ASCII codes using MATLAB? i.e., converting 0-127 to its character representations.

Thanks in advance!
ok here is the simple command

x=65

y=char(x)

>> x=65;
>> y=char(x)

y =

A

>>
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top