I want to find the solution for the eqautions x^2+y^2==3*x*y^2, x^3-x^2==y^2-y and plot graphs in matlab.

조회 수: 3 (최근 30일)
To solve the equations mathematically, the command [solx,soly]=solve(x^2+y^2==3*x*y^2, x^3-x^2==y^2-y) can be used. However, I am unable to plot a graph for 'solx'. Can you please help with the plotting part of both solx,soly.

답변 (1개)

madhan ravi
madhan ravi 2018년 9월 16일
syms x y
[solx,soly]=solve(x^2+y^2==3*x*y^2, x^3-x^2==y^2-y)
plot(solx,soly,'ok')
  댓글 수: 2
abcdr
abcdr 2018년 9월 16일
Thank you for the answer. If we use 'plot(solx,soly,'ok')', the imaginary part of the equations is ignored. How do we plot the imaginary part? What is the plot for 'solx'?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by