# doc-cache created by Octave 4.2.0
# name: cache
# type: cell
# rows: 3
# columns: 3
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 5
hbpmf


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 552

  The function returns the binary entropy of a probability mass function.

  $H=-\sum\limits_i Pr(i)*log_2(Pr(i))$
  $H=-\sum\limits_{ij} Pr(i,j)*log_2(Pr(i,j))$

  After starting the main routine just type the following command at the
  prompt:
  H=hbpmf(Pr);

  Input:
  Pr   is a probability mass function. The sum of all values Pr(a) could be 1.0.
       Pr can be a vector or matrix.

  Output:
  H    The binary entropy of a probability mass function.


  For help, bug reports and feature suggestions, please visit:
  http://nongnu.org/bsltl/




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 74

  The function returns the binary entropy of a probability mass function.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 10
mwindowing


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1078

  This function divides the MAT matrix in windows of WLines lines and WColumns 
  columns, then in each one of these windows it is calculated the mean value of all 
  elements. 

  With theirs information is created a new matrix MATW with the same 
  size and windows of MAT, and the mean values in the MAT matrix are replaced 
  in all elements, for each window, in the MATW matrix.
  
  After starting the main routine just type the following command at the
  prompt:
  MATW = mwindowing(MAT,WLines,WColumns);
  Mean values, of the elements in the window of 8x10 pixels, in the MAT matrix.
  MATW = mwindowing(MAT,8,10);
  
  Input:
  MAT      is a matrix with NLIN lines and NCOL columns.
  WLines   is the number of lines in each analysis window.
  WColumns is the number of columns in each analysis window.

  Output:
  MATW     is a matrix with the mean values, of the elements in 
           the window of WLinesxWColumns pixels, in the MAT matrix.


  For help, bug reports and feature suggestions, please visit:
  http://nongnu.org/bsltl/




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80

  This function divides the MAT matrix in windows of WLines lines and WColumns



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 11
threshold2d


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 706

  It is a function that returns a matrix X with elements smaller than U.
  For this purpose all elements superior to U are truncated to U.

  After starting the main routine just type the following command at the
  prompt:
  X1=threshold2d(X,U);
  [X1 X2]=threshold2d(X,U);

  Input:
  X   is a 2D matrix that needs be truncated.
  U   is the threshold of matrix X. He makes all values higher than U are set to U.
      U can be the matrix X or a scalar value.

  Output:
  X1  is the truncated matrix to threshold U.
  X2  [Optional] is the complement of the truncated matrix to threshold U. 
      X2 + X1 = X


  For help, bug reports and feature suggestions, please visit:
  http://nongnu.org/bsltl/




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 73

  It is a function that returns a matrix X with elements smaller than U.





