example: dismat(50,5,6) creates a 5x6 probability matrix and gives various parameters. dismata(a,r,c) a-matrix, r-row vector of x-values, c-column vector of y values. Freshers can see and appreciate the work load in the computation.
Mathan Chandran (2020). Discrete matrix distribution and its various parameters for educational purpose (https://www.mathworks.com/matlabcentral/fileexchange/21683-discrete-matrix-distribution-and-its-various-parameters-for-educational-purpose), MATLAB Central File Exchange. Retrieved .
See previous comments
Sorry. I forgot to provide the rating.
This author has now submitted two files with the same title. Both are equally poor. "Freshers" will find this of absolutely no value. Useless help. An absolutely terrible coding style, worthy of Marco at his worst. Here is an example:
y1 = a;
y2 = sum(sum(y1));
y3 = sum(sum(y1'));
y4 = y1/y2;
y5 = [r;y4];
c = [0;c];
y6 = [c,y5];
y7 = sum(y4')';
y8 = sum(y4);
y7 = [0;y7];
y8 = [0,y8,1];
y9 = [y6,y7];
yy = [y9;y8];
Avoid this dreck like the plague.
Again, this submission offers no (educational) use whatsoever ... It contains no comments, no help and is still very poorly coded. Please remove!
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!