Code covered by the BSD License  

Highlights from
Causal State Modeller Toolbox

image thumbnail

Causal State Modeller Toolbox

by

 

11 Oct 2011 (Updated )

Allows users to infer minimal and optimal statistical predictors from time series data.

constructtestvector(distribution)
function testvector = constructtestvector(distribution)

count = 1;

for i = 1:length(distribution)
    
    frequency = distribution(i);
    testvector(count:count + frequency-1) = ones(frequency,1) * i;
    count = count + frequency;

end

Contact us