Quantize

fast and easy scalar quantization
ダウンロード: 135
更新 2016/7/6

ライセンスの表示

% Quantization of x.
%
% INPUT
% -----
%
% Several options are available as optional parameters, listed below:
%
% - 'centroids' : centroids to use. Default is []. If non-empty, all other
% parameters are ignored.
%
% If 'centroids' is not provided or empty, uniform quantization will be
% done. Parameters then are:
%
% - 'border_method': either QUANTILE (default) or ABSOLUTE
% - 'border_param': parameters for borders. depending on borders_method:
% * border_method==ABSOLUTE: the actual min and max value to use
% * border_method==QUANTILE: the quantiles to use for min and max.
% default is [0.1,0.9]
% - 'control_method': either 'RATE' (default) or 'DISTORSION'
% - 'control_param': parameter for quantization step. depending on
% control_method:
% * control_method==RATE: number of quantization cells
% * control_method==DISTORSION: size of quantization cells.
% - 'display': 1 or 0, whether or not to display some figure
%
% OUTPUT
% ------
% - xbar: quantized signal
% - misc: a structure containing the following fields:
% * centroids: the used centroids. min and max are the first and last
% ones, respectively
% * group: for each data point, gives the index of the selected
% centroid
% * delta: only there if centroids were not provided: selected
% quantization step
%--------------------------------------------------------------------------
% Antoine Liutkus, Inria, 2016

引用

Antoine Liutkus (2024). Quantize (https://www.mathworks.com/matlabcentral/fileexchange/58024-quantize), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2016a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDownloads についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

fixed a typo in the description