Calculation errorous values problem
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
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
2019-9-28
Your edited code contains no calculations, so we cannot say what is wrong....
回答(1 个)
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.
0 个评论
此问题已关闭。
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!