% m-file: demo_3.m
%
% (C) PK, 08/11/2018;

clc; clear; close all;

N=2^4; M=2^10;
X=randn(N,M);
K=30;
%[H,B]=hist(X,K);
s=std(X); m=mean(X);
[hs,bs]=hist(s,K);
[hm,bm]=hist(m,K);

    figure(1);
        subplot(1,2,1); bar(bm,hm,1); grid on;
        subplot(1,2,2); bar(bs,hs,1); grid on;
      

% EOF;