Nonlinear optimization problem in Matlab

Hi all, i want to find the maximum likelyhood of this problem but i really don't know how to do it. The problem also said that "the optimization can be initialized with R = I3(identity) and d = 0".

답변 (2개)

Alan Weiss
Alan Weiss 2016년 3월 16일

0 개 추천

Are you really allowed to take any d you want? If so, why not just take any R in SO(3), maybe the identity, and take d to be the value of the resulting matrix multiplication?
If, instead, you have a fixed d, then you need to characterize the R in SO(3) by a set of variables, and minimize the expression over those variables. You can try using fminsearch, though you may have to start it from a variety of initial points to get a global minimum.
Alan Weiss
MATLAB mathematical toolbox documentation

댓글 수: 3

Torsten
Torsten 2016년 3월 16일
Are you really allowed to take any d you want? If so, why not just take any R in SO(3), maybe the identity, and take d to be the value of the resulting matrix multiplication?
I think you missed the summation over k.
Best wishes
Torsten.
Alan Weiss
Alan Weiss 2016년 3월 16일
Indeed I did, thanks! I should spend more time looking when the problem seems nonsensical.
The suggestion stands, though: parametrize SO(3) matrices, and have at it with a minimizer.
Alan Weiss
MATLAB mathematical toolbox documentation
Flore Flore
Flore Flore 2016년 3월 16일
Thank you for reply. The problem also said that "the optimization can be initialized with R = I3 and d = 0".

댓글을 달려면 로그인하십시오.

Flore Flore
Flore Flore 2016년 3월 17일

0 개 추천

i all,
please nobody has an idea?
even a helpful suggestion please

댓글 수: 5

Torsten
Torsten 2016년 3월 17일
Do you know how an element of SO(3) is sensefully parametrized ?
I don't.
Best wishes
Torsten.
Flore Flore
Flore Flore 2016년 3월 17일
편집: Flore Flore 2016년 3월 17일
Can we parametrize it like this? and consider the two parameters d and phi instead of R?
Best wishes
Flore
Torsten
Torsten 2016년 3월 18일
Why only rotations in the xy-plane ? The representation you choose for R in the objective function must include all possible cases, e.g. a composition of a rotation in the xy-plane with a rotation in the xz-plane.
Best wishes
Torsten.
Flore Flore
Flore Flore 2016년 3월 22일
편집: Flore Flore 2016년 3월 22일
Thank you for your reply.
If we consider that this R is a scalar. Please i want to know how to build the function with the summation over k in Matlab.
Best wishes
Flore
Torsten
Torsten 2016년 3월 23일
편집: Torsten 2016년 3월 23일
The objective function should somehow look like
summe=objfunc(x,y_zk,y_mk,invD0,o)
d=x(1:end-1);
r=x(end);
summe=0.0;
for k=1:K
summe = summe + norm(d-y_zk(k,:)*r*invD0*(y_mk(k,:)-o)');
end
Best wishes
Torsten.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2016년 3월 16일

편집:

2016년 3월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by