| Statistics Toolbox | Search  Help Desk |
| normstat | Examples |
Mean and variance for the normal distribution.
Syntax
[M,V] = normstat(MU,SIGMA)
Description
For the normal distribution:Examples
n = 1:5;
[m,v] = normstat(n'*n,n'*n)
[m,v] = normstat(n'*n,n'*n)
m =
1 2 3 4 5
2 4 6 8 10
3 6 9 12 15
4 8 12 16 20
5 10 15 20 25
v =
1 4 9 16 25
4 16 36 64 100
9 36 81 144 225
16 64 144 256 400
25 100 225 400 625