Command:

addFacLogUnif (  
char* name,
long numIntervals,
double** intervals,
char* note
)

What:

Adds a new factor with a logUniform distribution to the configuration to be used for the sample generation

Parameters:

name
[char*]
defines the factor's name. It must begin with a letter and can contain only letters and numbers, this parameter cannot be null!
numIntervals
[long]
number of  intervals stored in the intervals matrix
intervals
[
matrix of double precision #]
each row of the matrix contains the left bound, the right bound and the probability value associated with the current interval
note
[char*]
the factor note is optional in Matlab

Return:

error_code [int]: 1 if the operation has occurred without errors, 0 if an error has occurred

Examples:

addFacLogUnif('fac1',3,[ 1,2,0.4; 2,3,0.3; 3,4,0.3 ],'notefac1')

this command adds a new factor called fac1 with a loguniform distribution, three intervals are set with the presented left and right bounds and associated probability

About the distribution:

The density function of the LogUniform distribution has the following expression:

loguniform

with n number of intervals.

mean value:                                      

loguniform

standard deviation:

loguniform

All Factor Commands: