フィルターのクリア

Troubles plotting y==0 using fimplicit

1 回表示 (過去 30 日間)
Zdenek Hurak
Zdenek Hurak 2021 年 2 月 16 日
回答済み: Raynier Suresh 2021 年 2 月 19 日
I have troubles to use fimplicit function to plot two simple functions defined implicitly:
syms x y
fimplicit([x==0,y==0])
Apparently, the solution set for the second equation (y==0) is not plotted correctly. If x is understood by the function as the horizontal axis, which is suggested by seeing a vertical graph for the x==0 equation, the graph for the y==0 equation should be a horizontal line and it is not:
fimplicit(y==0)
Strangely enough, if the function definining the equation is only slightly perturbed, the problem dissapears
fimplicit(y+10e-8*x==0)
axis([-5 5 -5 5])

採用された回答

Raynier Suresh
Raynier Suresh 2021 年 2 月 19 日
Hi, you could try the below code
fimplicit(@(x,y) x);hold on;fimplicit(@(x,y) y)

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by