LogBaseN:

Path: Math/Analysis

% log of base n.

 The demo solves the problem log base 4 of 2.

--------------------------------------------------------------------------
   Form:
   y = LogBaseN(n,x)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   n     (1,1)      Base
   x     (1,:)      Number

   -------
   Outputs
   -------
   y     (1,:)      log base n of x

--------------------------------------------------------------------------

Back to the Math Module page