I want to make the image 1 as smooth as possible such that it looks like image 2. I was thinking to decrease the grid size but I don't know how to do that. Thanks in advance,
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.