MATLAB: Solve nonlinear equations silumtaneously

equationsnonlinearsimultaneous

hi
i have four nonlinear equations with three unknowns kindly help me to solve it using matlab te equations are
v1=v+(c*n1^-a),
v2=v+(c*n2^-a),
v3=v+(c*n3^-a),
v4=v+(c*n4^-a)
only the unknown variables are v,c and a
so how to solve them
i hve tried to use the solve command but it didnt worked….

Best Answer

Careful, there are multiple solutions. You might have gotten out a structure array, and then [Y.v Y.c Y.a] would have all the v values followed by all the c values followed by all the a values. Index that at (1), (2), and (3) and you might be using unexpected values.
The primary solution, by the way, is a = 0 and the other two infinite.
Warning: there are two solutions with nearly identical "c" and "v" but fairly different "a". Precision counts in this matter.
Related Question