Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Solve the Euler-Lagrange equation

조회 수: 5 (최근 30일)
tandemuse
tandemuse 2021년 8월 17일
마감: John D'Errico 2021년 8월 17일
Using calculus of variations (optics subsection) we can show that the following Euler-Lagrange equation must be true:
with the boundary conditions and .
is a matrix of slowness values (inverse of velocity), so for every point in space we know the velocity values. Say for example this is the peaks function:
x = -2:0.05:2;
y = x';
[X,Y] = meshgrid(x,y);
s = peaks(X,Y);
imagesc(s)
xlabel('x')
ylabel('y')
represents the curve we're trying to find, which starts at the point and ends at the point (the boundary conditions).
Find by solving the Euler-Lagrange equation.

답변 (0개)

이 질문은 마감되었습니다.

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by