Info

This question is closed. Reopen it to edit or answer.

Calculation errorous values problem

2 views (last 30 days)
Ömer Faruk Kurular
Ömer Faruk Kurular on 28 Sep 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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 Comment
Matt J
Matt J on 28 Sep 2019
Your edited code contains no calculations, so we cannot say what is wrong....

Answers (1)

Matt J
Matt J on 28 Sep 2019
Edited: Matt J on 28 Sep 2019
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.

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!