The problem says that we have the information (actually a .mat file that contains the data) of 1 pixel from an IR camera from an object with 26° of temperature. Because of the noise, the output is given by
$$ y[n]=26+N[n] $$ where $N[n]$ represents the noise. For that, I'm supposed to implement the following filter: $$ H[z]=\frac{b}{1-az^{-1}} $$ where $ a\in (0,1)$ and $b\in \mathbb{R}$. The directions say "fix a value for $a$ then find a proper value for $b$ such that you get the known value of temperature". I'm working on Matlab and it seems the best values are $a=b=0.5$ (just by inspection by looking the graphs after the filter). How can I exactly determine a good value for $b$?