Distribution of some variables

1 view (last 30 days)
Cladio Andrea
Cladio Andrea on 18 Feb 2015
Edited: John D'Errico on 18 Feb 2015
Hello everyone, i m really new with matlab, trying to understand what is the meaning of these lines, can anyone explain me?
DATADISTROX={'unif',SUPPX(1),SUPPX(2)};
DATADISTROY={'unif',SUPPY(1),SUPPY(2)};
%DATADISTROY={'norm',mean(SUPPY),300};
DATADISTIME={'unif',SUPPT(1),SUPPT(2)};
DATADISSIZE={'exp',100};
ALRMDISTROX={'norm',mean(SUPPX),10};
ALRMDISTROY={'norm',mean(SUPPY),10};
%ALRMDISTIME={'norm',mean(SUPPT),100};
ALRMDISTIME={'beta',3,4}; SUPPA=[1500, 2100];
ALRMDISSIZE={'unif',1000,1000};
i can see the distribution types but what is the numbers in the parenthesis? Please help me.

Accepted Answer

John D'Errico
John D'Errico on 18 Feb 2015
Edited: John D'Errico on 18 Feb 2015
While we might guess at some logical answers, out of context, that would be wrong. Those lines are code that were written by SOMEBODY. Ask this question of the person who supplied the code to you.
Without definition, numbers are just numbers, no more than that. And since we lack the context of what the code means, we could easily steer you to the wrong conclusion. It really would be wrong for us to make guesses here.
Finally, if you have these questions, you will have MANY more questions about that same code. TALK TO THE SOURCE.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!