• Register
0 votes
96 views

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
6 5 3
6,930 points

Please log in or register to answer this question.

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)

9 7 4
38,600 points

Related questions

0 votes
1 answer 5 views
5 views
problem: need your answer to help me?the expression to the left of the equals sign is not a valid target for an assignment Matlab
asked Mar 17 amnafahad 500 points
0 votes
0 answers 7 views
7 views
Problem: error: the expression to the left of the equals sign is not a valid target for an assignment.
asked Feb 23 Muneeb Saadii 127k points
0 votes
1 answer 287 views
287 views
Problem : I am new to matlab and nntool. Currently I want to implement the neural network with the use of matlab using nntool. I am facing below error message. I am unable to understand the error message. **??? Insufficient number of outputs from right hand ... : Insufficient number of outputs from right hand side of equal sign to satisfy assignment.** How can I fix the above error message?
asked Feb 19, 2020 mphil 2.3k points
1 vote
1 answer 70 views
70 views
Problem: For the following code : E = [5,200]; Selected edge values X = imread('LENNA128.bmp'); N = length(X); Y = false(N+2); for k = 1:numel(E); Y(2:end-1,2:end-1) = X==E(k); Z = Y(1:end-2,2:end-1) | Y(3:end,2:end-1) | Y(2:end-1,3:end) ... )/2); end I get the error message: In an assignment A(:) = B, the number of elements in A and B must be the same Can anyone help me out to solve this problem.
asked Apr 9, 2020 LizzyM 6.1k points
0 votes
1 answer 11 views
11 views
Problem: I have an issue that i am unable to find valid certification path to requested target android studio.
asked Mar 22 waseem memon 2.4k points
0 votes
1 answer 40 views
0 votes
1 answer 10 views
10 views
Problem : ERROR : Cell contents assignment to a non cell array object
asked Feb 24 Shovo210 13.3k points
0 votes
1 answer 240 views
240 views
Problem : Following is the script giving me the error I dont understand why it is giving me this The file starts with clear all filein=['Runs/']; Namein1=['AIC']; Nameout=['Nash']; It then does a lot of calculations and after that it tries to write the results to one ... I am not sure what is wrong here? What am I missing here? Please Note: I am running Matlab2013a on my MacBook Pro with OSX 10.8
asked Nov 21, 2019 peterlaw 6.9k points
0 votes
1 answer 1 view
1 view
Problem: If the value of num_p is 1 (i.e., the cell array isn't an array), everything works just fine. If the value of num_p is greater than 1, however, I get the following error: Scalar structure required for this assignment. Error in: space_averaged_data.Ps{p} = mean( Ps{p}, 2 ); What is the non-scalar structure in this assignment? I have no idea what the error is referring to.
asked Mar 27 ummesalma 24.5k points