A script, which kills all formerly existing data by an initial "clear all" is not a good idea for a code published in the FEX.
The submitted code is such specific (hard coded file name and zoom factor) and inefficient (a slow loop instead of a vectorized method), that it is neither useful nor usable for others. There is no documentation and the action is near to trivial. Therefore I rate it with 1 star only.
The FileExchange is thought to share useful programs with others. It is a good strategy to submit programs, which are useful for others. What kind of programs would you like to download from here?
Why not just smooth the original image with interp2 then downsample? Two lines of code. There's also filter2. You've done the same thing but in 20 lines of code and used 3 nested loops. It's confusing and not well written because it doesn't make good use of the language. There are no comments and it converts to 8 bit for no reason. Also, you've created a sock-puppet account for this stuff rather than publishing under "Amarjot", as you have done previously.
People here, including me, would like to help beginners learn to code better. However, you're posting the same bad code with no modifications after at least two of us have given you advice and suggestions on virtually identical code in the past. What reaction are you expecting from the community if you have no interest in helping yourself?