Cross Recurrence Plot Toolbox v5.29 (R38)

CRP Toolbox

trafo

Transforms data to a desired distribution.

Syntax

y=trafo(x,a)

Description

y=trafo(x,a) transforms the data in vector x to data y of a desired distribution, where

Example

x=rand(5000,1);
subplot(2,1,1), hist(x,20)   % uniformly distributed
title('uniformly distributed')
y=trafo(x,0);
subplot(2,1,2), hist(y,20)   % normally distributed
title('normally distributed')