Problem solved. The clue was in data set definition.
pixedPoints and movingPoints must define some geometric object such as square, rectangular, trapezoid etc. My fixedPoints and movingPoints data lay in one line.
Hope it may help to someone else.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!