%% Demonstrate use of spm_mix
% Best viewed with MATLAB's "publish" functionality.

%% One-dimensional data, simulated from a three-component mixture
% Fitted with mixtures containing from 1 to 5 components
spm_mix_demo1d(3, 5);

%% Two-dimensional data, simulated from a three-component mixture
% Fitted with a mixture containing 5 components
spm_mix_demo2d
