updated TestCREClass
This commit is contained in:
parent
11d91979df
commit
026a3f589f
|
@ -21,8 +21,15 @@ S.UseHistProxy=false;
|
||||||
S.Calc;
|
S.Calc;
|
||||||
S
|
S
|
||||||
%% Test CCRE class
|
%% Test CCRE class
|
||||||
CS=CCREClass;
|
figure(1);clf;hold on
|
||||||
CS.Data=randn(100,1);
|
A=randn(10);
|
||||||
CS.nBin=10;
|
B=randn(10);
|
||||||
CS.DataRef=randn(100,1);
|
for k=-1:0.1:1
|
||||||
CS.nBinRef=10;
|
CS=CCREClass;
|
||||||
|
CS.Data=(1-abs(k))*A+k*B;
|
||||||
|
CS.nBin=100;
|
||||||
|
CS.DataRef=B;
|
||||||
|
CS.nBinRef=50;
|
||||||
|
CS.Calc;
|
||||||
|
plot(k,CS.CCRE,'o')
|
||||||
|
end
|
Loading…
Reference in New Issue