The Matlab prototype of map-converter