Programmers learn & share
0 votes

Problem :

Looking for solution on following issue
error: the expression to the left of the equals sign is not a valid target for an assignment
by (6.9k points)   | 33 views

1 Answer

0 votes

Solution :

To ressolve your issue you must use the double equal sign in the equation ==. 

Use the == operator to specify the equation e.g. sin(x) == 1 and solve it.

Also you must declare the symbolic variable t before attempting to solve the equation. The error free code should look like following:

syms t

solve(t*(t+0.09)*(t+484)*(t+10000) == 1, t)

by (36.1k points)  
2,204 questions
2,598 answers
241 users