Added the first attempt at CCRE
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
S=CREClass;
|
||||
S.Data=randn(100000,1);
|
||||
S.Data=randn(100,1);
|
||||
S.nBin=(1000);
|
||||
%% use histogram
|
||||
S.UseHistProxy=true;
|
||||
@ -13,10 +13,16 @@ std(S.Data)
|
||||
%% multiply S
|
||||
S.Data=100*S.Data;
|
||||
S.UseHistProxy=true;
|
||||
S.Calc
|
||||
S.Calc;
|
||||
S
|
||||
std(S.Data)
|
||||
%% ones again the "new" way
|
||||
S.UseHistProxy=false;
|
||||
S.Calc
|
||||
S
|
||||
S.Calc;
|
||||
S
|
||||
%% Test CCRE class
|
||||
CS=CCREClass;
|
||||
CS.Data=randn(100,1);
|
||||
CS.nBin=10;
|
||||
CS.DataRef=randn(100,1);
|
||||
CS.nBinRef=10;
|
Reference in New Issue
Block a user