MATLAB: What is the ‘z’ output argument of the LHSNORM function in Statistics Toolbox 5.3 (R2006b)

argumentlhsnormoutputStatistics and Machine Learning Toolboxz

The documentation for the LHSNORM function lists two calling syntaxes:
X = lhsnorm(mu,sigma,n)
X = lhsnorm(mu,sigma,n,'onoff')
However, the function declaration line of LHSNORM lists an undocumented output 'z'.:
function [X,z] = lhsnorm(mu,sigma,n,dosmooth)
I would like to know what 'z' is.

Best Answer

This bug has been fixed in Statistics Toolbox 6.1 (R2007b). For previous product releases, read below for any possible workarounds:
The output argument 'z' is a sample of random vectors chosen from the multivariate normal distribution with mean mu and covariance sigma.