Good morning , I should write some equations on a. mod file in order to analyze through dynare, some variables on matlab. The equations in question are

(1 + g) ^ teta *teta* (c (t + 1) -c (t)) = r ̅ *β* r (t)

(1 + g) *N (hat) n (t + 1) = 1 / eta (L* W (hat)

*w (t) -C (hat)*r (t)) * N (hat) * n (t)

*c (t)) + r ̅*r (t) + (1 + r ̅In addition, the text of the document tells me that c (t) = lnc (t) -lnc (hat), so that the variable in lower case is the deviation between the endogenous variable and the corresponding stationary state. So I’d like to figure out how to write letters in lower case and letters in upper case with hat accents on the mod file. Thanks in advance