5.0

5.0 | 1 rating Rate this file 23 downloads (last 30 days) File Size: 1.7 KB File ID: #931

chb

by Giampiero Campa

 

15 Oct 2001 (Updated 12 May 2005)

Code covered by BSD License  

change base

Download Now | Watch this File

File Information
Description

B = chb(A,a,b) change numerical base:
  a,b scalars from 2 to 64 , A,B strings.
  Number A in base a , expressed in base b by B.
  Symbols are 0 .. 9 A .. Z a .. z @ &.
  
  Example:
  '-54.13'-chb(chb('-54.13',6,27),27,6)
  
  Giampiero Campa 21-2-94

Acknowledgements
This submission has inspired the following:
Numeral Systems Toolbox 1.1
MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
27 Sep 2003 Rasmus Anthin

Very nify function! Quite useful.

Please login to add a comment or rating.
Updates
12 May 2005

Renamed lowercase

Tag Activity for this File
Tag Applied By Date/Time
base Giampiero Campa 22 Oct 2008 06:38:34
change Giampiero Campa 22 Oct 2008 06:38:34
strings Giampiero Campa 22 Oct 2008 06:38:34
chb Giampiero Campa 22 Oct 2008 06:38:34
numerical Giampiero Campa 22 Oct 2008 06:38:34
 

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