MATLAB: What’s wrong here

ft rls

gamma1(i)=gamma(i-1)*lambda*epf(i-1)/epf(i)
here the error showing is that
" Invalid syntax at'='. Possibly a ),},or ] is missing"
rectify what is the mistake here and how to correct it?

Best Answer

There is nothing wrong with that code. Please tell us the entire error message, not a small part of it like you did. What you showed is not a MATLAB error message. How do I know? Well it doesn't have line numbers or function names for one thing. Also tell us the value of i when it errors. With syntax errors, it's possible that the error actually starts on the line before what it says.