<< waverec2 discrete_wavelet_analysis wenergy >>

swt >> discrete_wavelet_analysis > wcodemat

wcodemat

Matrix Coding

Calling Sequence

M=wcodemat(X,[MAX],[mode],[abso])

Parameters

X :

input double matrix

MAX :

maximun integer

mode:

row-wise ('r' or 'row'), column-wise ('c' or 'col') or matrix coding ('m' or 'mat')

abso :

non-zero for absolute value coding, zero for original value coding

M :

coded integer matrix with value ranging from 1 to MAX.

Description

wcodemat is an utility of coding for displaying matrix. With coding scheme to specific colormap, the content matrix could be in pseudo-color.

Examples

x = rand(100,100);
m = wcodemat(x,64);
gcf().color_map = parula(64);
Matplot(double(m));

Authors

See also


Report an issue
<< waverec2 discrete_wavelet_analysis wenergy >>