I looked here how to declare recurrence equations.
I tried the following example from this page:
>> solve(rec(y(n + 1) = 3*(n + 1)*y(n), y(n), {y(0) = 1})) | Error: The expression to the left of the equals sign is not a valid target for an assignment.
Then I noticed that I did not have the Symbolic Math Toolbox installed. After installation
>> ver
returned (among some others):
MATLAB Version 8.1 (R2013a) Symbolic Math Toolbox Version 5.10 (R2013a)
but i still got the error above.
I could narrow the command down to the following by indicating the same error above:
>> rec(y(n + 1) = y(n), y(n), {y(0) = 1}) | Error: The expression to the left of the equals sign is not a valid target for an assignment.
On wikis and other Google results, an error is only mentioned with an error when starting = c == .
source share