Name

number_barygui — Plots a gui to see the digits of a number.

Calling Sequence

   h = number_barygui ( n )
   h = number_barygui ( n , b )
   
   

Parameters

n :

a 1x1 matrix of floating point integers, must be positive, the integer to decompose

b :

a 1x1 matrix of floating point integers, must be positive, the basis

h :

a handle to the graphics

Description

Displays a gui to see digits of n in base basis. This gui is expected to be unique (it is not currently possible to display two bary GUIs).

Uses the dispmap module to display the digits.

Examples

h = number_barygui ( 4 );
number_baryguiclose();

h = number_barygui ( 4 , 3 );
number_baryguiclose();

   

Authors

Copyright (C) 2010 - Michael Baudin