필터 지우기
필터 지우기

How to find x for a given value of y?

조회 수: 5 (최근 30일)
Nathalie
Nathalie 2014년 3월 20일
I have found eigenvector h given matrix g. To do that, i have constructed a grid of random numbers : % generate grid
dx = (x_max-x_min)/(n_max-1); grid_x=linspace(x_min, x_max, n_max); grid_x = (grid_x(1:end-1)+grid_x(2:end))/2;
g = []; for i=1:n_max-1
g = [g; dx*normpdf(grid_x, grid_x(i), sigma)];
end
% find eigenvalues [V, lambda] = eig(g);
h = V(:, end);
Now I'd like to know how to get the value on the grid 'x', which would correspond to the random draw of some number from the eigenvector h??
Thanks.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by