Solve an equation of fourth degree with two variables

17 views (last 30 days)
AAA on 22 May 2013
I have to solve an equation of fourth degree with two variables, and draw the line where it is equal to zero. I tried to do that but I got an error message when I tried to place a value in x1_sol:
syms x y;
x_sol=solve(v==0,x,'MaxDegree', 4);
Where am I wrong? Do I use the right way?

Sign in to comment.

Accepted Answer

Valmir Sadiku
Valmir Sadiku on 23 May 2013
i don't know what you are trying with this command x1_sol=x_sol(1); because the size of the x_sol are:
>> size(x_sol)
ans =
1 1
that's because it should be clear why x1_sol(9); give you an error message!
AAA on 24 May 2013
yes, it's exactly what I needed. thanks!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!