Code covered by the BSD License  

Highlights from
chb

5.0

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

chb

by Giampiero Campa

 

15 Oct 2001 (Updated 12 May 2005)

change base

| 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

Contact us at files@mathworks.com