The IWISHRND function seem to have changed between Statistics Toolbox 5.0.2 (R14SP2) and 5.1 (R14SP3). If you look at the implementation of IWISHRND:
type iwishrnd
You will see this line in R14SP2:
di = d\eye(size(d))
And in R14SP3:
di = d' \eye(size(d))
Best Answer