<div>Hi!</div><div><br></div><div>I'm starting to work with Scilab, and I'm trying to figure out how to work with matrices.</div><div><br></div><div><div>My goal is to find a way to convert any point from one system into another.</div>
<div><br></div><div>My (failed) approach so far was to estimate the necessary rotation, translation and scale; but it didn't work quite well, because the second map is slightly distorted (probably due perspective).</div>
</div><div><br></div><div>Being a bit more specific: </div>
<div><br></div><div>I have the following points:</div><div><br></div><div>A = [</div><div><span style="white-space:pre-wrap"> </span>[52.363965, 4.892435],</div><div><span style="white-space:pre-wrap">   </span>[52.384611, 4.898272],</div>

<div><span style="white-space:pre-wrap">  </span>[52.379267, 4.881105],</div>
<div><span style="white-space:pre-wrap">  </span>[52.369678, 4.911489],</div><div>]</div><div><br></div><div><br></div><div>They correspond to these points:</div><div><br></div><div>B = [</div><div><span style="white-space:pre-wrap">     </span>[0, 0],</div>

<div>
<span style="white-space:pre-wrap">     </span>[2131, 1534],</div><div><span style="white-space:pre-wrap">    </span>[2131, 0],</div><div><span style="white-space:pre-wrap">       </span>[0, 1534],</div>
<div>]</div><div><br></div><div>Do you have any suggestions on how to calculate tje transform from A to B?</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Cap.</div><div><br></div>