How to write NK model's sticky price part code on Matlab

Can some one give me an example of NK model with sticky price? I just started to learn Matlab a few days ago and I do not know how to write the whole model part of NK model. I really need some help.

The codes for Gali’s textbook are at

1 Like

Thank you very much! Best wishes to you!