Info
This question is closed. Reopen it to edit or answer.
Solve the Euler-Lagrange equation
6 views (last 30 days)
Show older comments
Using calculus of variations (optics subsection) we can show that the following Euler-Lagrange equation must be true:
with the boundary conditions
and
.
x = -2:0.05:2;
y = x';
[X,Y] = meshgrid(x,y);
s = peaks(X,Y);
imagesc(s)
xlabel('x')
ylabel('y')
Find
by solving the Euler-Lagrange equation.
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!