Hi Samuel
I fixed it as you pointed out and it worked.
There was another mistake. I misunderstood the function len () of another
language as size () and used it.
Was mesh2d internalized? I have not downloaded the Metanet module, but int2d
worked fine.
I have not used the ATOMS yet, but I will
Hello Masahiro,
function rt=multNormDensFunc(x_V, m_V, cov_M);
I am not sure about the semi-colon... ?
[I2,e]=int2d(X,Y,list(multNormDensFunc,[0,0],[1,0;0,1]),[0.0001, 1, 20*20,
4000, 0])
The function expects only one parameter after both 2D operands x_V, m_V,
while the list
In order to calculate the expected value of a certain two-variable function,
I have created a density function of two-dimensional normal distribution.
I created a code like the attached file to check the correctness of the
function, but it does not work.
Where is the code wrong?
I have been