I want to do the following:
for i = 1:N
l(i) = mvncdf(x(i,:), mu, sigma(:,:,i))
end
Can I do it without a loop given that a covariance matrix is different for each row of x?
I want to do the following:
for i = 1:N
l(i) = mvncdf(x(i,:), mu, sigma(:,:,i))
end
Can I do it without a loop given that a covariance matrix is different for each row of x?