Excellent submission! I just managed to reproduce Mohinder's error (No static serializeXML method with appropriate signature exists in Java class com.mathworks.xml.XMLUtils). In my case it was caused by trying to run xmlwrite instead of xml_write.
ANCY: One of your comments is repeated 4 times and does not seem to relate to this submission. Please would you delete it; you could try putting it on Matlab Answers.
On your most recent comment, I am not sure what you mean by "full sampling". To do log-polar sampling and its inverse, you just call these functions like any other functions. They are fully described in the help information. An example of their use is at http://www.sussex.ac.uk/Users/davidy/log_lines/index.html