Info

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

Calculation errorous values problem

조회 수: 2 (최근 30일)
Ömer Faruk Kurular
Ömer Faruk Kurular 2019년 9월 28일
마감: MATLAB Answer Bot 2021년 8월 20일
I need to calculate M matrix and collected 2d and 3d coordinates. When I try to calculate M matrix it gives absurd results. What can be the problem? This is how I do it.
%3d
c1 = [13.5 0 15.3];
c2 = [11.5 0 15.3];
...... more coordinates
%2d
c1_2 = [1221 1293];
c2_2 = [1395 1231];
.... more coordinates
threes = [c1; c2; ...]
twos = [c1_2; c2_2]
The result it gives is so high and it should be very small. So I cannot convert back from 3d to 2d. What is wrong here?
  댓글 수: 1
Matt J
Matt J 2019년 9월 28일
Your edited code contains no calculations, so we cannot say what is wrong....

답변 (1개)

Matt J
Matt J 2019년 9월 28일
편집: Matt J 2019년 9월 28일
This is how I do it?
No. You should follow section 3.1 in the attached .pdf file. Among other problems, your current method neglects the pre-normalization recommended in subsection 3.1.2.

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by