for j=1:size(x,1);
covpart(:,:,j)=gaussians(j)*(distance_vector(:,j)*distance_vector(:,j)');
end
cov=sum(covpart,3);
out=exp(-.5*(distance_vector'/cov)*distance_vector);
If you are experiencing a similar issue, please ask a related question
Title | # Comments | Views | Activity |
---|---|---|---|
count11 challenge | 6 | 71 | |
Simple Calculation for Value of Availablity | 5 | 85 | |
Problem to open Excel file | 15 | 135 | |
Math solution for number of possible window monitor positions using 1, 2, or 3 divisions | 4 | 44 |
Join the community of 500,000 technology professionals and ask your questions.