Find the solution of algebraic equation of the form
an*x^n + a(n-1)*x^(n-1) + (an-2)*x^(n-2)+...... a2*x^2 + a1*x^1 + a0 = 0;
Input to the function is of the form : [an an-1 an-2 .....a2 a1 a0] :coef vector
eg: equation x^5-5=2 -> Input = [1 0 0 0 0 -5]
Solution Stats
Problem Comments
6 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers57
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
480 Solvers
-
Flip the main diagonal of a matrix
905 Solvers
-
Are all the three given point in the same line?
603 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13688 Solvers
-
Generate a random matrix A of (1,-1)
403 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
why it showing the error
"Error: Could not check out Symbolic Math Toolbox license."
Solution set note: i' is -i. More explicit method would be ; usage or rot90. There is another way, which I don't recall to transpose an imaginary array without creating complex conjugates.
i.'
The author should make some change: either the spec or the test cases are flawed, the order of the solution should not matter.
i' = -i
i.' = -i
.' is transpose
' is transpose and then complex conjugate
Test suite has modified to correct ambiguities.