4.57143

4.6 | 7 ratings Rate this file 164 downloads (last 30 days) File Size: 2.84 KB File ID: #4341

Encode Decode ASCII Binary

by Fahad Al Mahmood

 

08 Jan 2004 (Updated 19 Apr 2004)

Code covered by BSD License  

2 M-files to encode or decode ASCII and binary numbers.

Download Now | Watch this File

File Information
Description

Very simple program to convert regular ASCII text to a block of binary numbers and vise versa. Just run the following commands to view an example:

encode('test.txt','binary.txt')
decode('binary.txt','ascii.txt')

MATLAB release MATLAB 6.5 (R13)
Zip File Content  
Other Files test.txt,
code.m,
decode.m,
encode.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
27 May 2004 Tuti dala'il  
16 Oct 2004 Muhammad Saleem  
15 Jun 2005 Patricio Donato

Good conversion tool.

08 Mar 2006 Some Guy

Perfect for reading a txt file and getting the binary ascii equivalents. Thanks

22 May 2007 lingbin yuen  
16 Jul 2007 Matthew Parr  
16 Sep 2009 Francesco  
Please login to add a comment or rating.
Updates
13 Jan 2004

File (encode.m) has been modified for faster processing for larger text files.

10 Feb 2004

SPC & ENT codes are included in (code.m)

19 Apr 2004

Category changed

Tag Activity for this File
Tag Applied By Date/Time
coding theory Fahad Al Mahmood 22 Oct 2008 07:12:28
information theory Fahad Al Mahmood 22 Oct 2008 07:12:28
encode Fahad Al Mahmood 22 Oct 2008 07:12:28
decode Fahad Al Mahmood 22 Oct 2008 07:12:28
ascii Fahad Al Mahmood 22 Oct 2008 07:12:28
binary Fahad Al Mahmood 22 Oct 2008 07:12:28
mfiles Fahad Al Mahmood 22 Oct 2008 07:12:28
block Fahad Al Mahmood 22 Oct 2008 07:12:28
ascii Sandip Kulkarni 04 Nov 2008 15:44:04
binary Sandip Kulkarni 04 Nov 2008 15:44:06
block Sandip Kulkarni 04 Nov 2008 15:44:08
coding theory Sandip Kulkarni 04 Nov 2008 15:44:11
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com