File Exchange

## Discrete matrix distribution and its various parameters for educational purpose

version 1.0.0.0 (2.73 KB) by
Various parameters of 2D- discrete variable

0 Downloads

Updated 06 Oct 2008

No License

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.

### Cite As

Mathan Chandran (2021). 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 .

### Comments and Ratings (4)

w s

See previous comments

John D'Errico

Sorry. I forgot to provide the rating.

John D'Errico

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];
y100 =yy;

Avoid this dreck like the plague.

Jos x@y.z

Again, this submission offers no (educational) use whatsoever ... It contains no comments, no help and is still very poorly coded. Please remove!

##### MATLAB Release Compatibility
Created with R2008a
Compatible with any release
##### Platform Compatibility
Windows macOS Linux

### Community Treasure Hunt

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

Start Hunting!