title: Mapping image into cylinder or sphere shape?
body: <p>So lets say I have black &amp; white image that is read with imread() command and saved into matrix A.</p>
  
  <p>I want to output/graph this matrix A image in a cylinder shape. I know how to draw a cylinder in MATLAB, but I do not have a clue what I should do if I want to put image on a cylinder or draw image in cylinder shape. Any help will be appreciated. Thank you.</p>
  
  <p>I found this site from googling.
  <a href="http://www.flashandmath.com/advanced/rolls/cylin.html">http://www.flashandmath.com/advanced/rolls/cylin.html</a>
  This is exactly what I want to do, but I need to do this in MATLAB.</p>