How do i use fimplicit function for a graph?

1 次查看(过去 30 天)
How do i do this using fimplicit function? I tried it and a heart comes out in a graph. I would just like to know if there should be and x and y element on this kind of problem? For instance y vs x?
This is what i first did. Do i put elements to recognize the x and y? What should be my independent and dependent variable?
  1 个评论
Walter Roberson
Walter Roberson 2020-4-19
you used the square root of x squared, but the question requires the cube root of x squared.

请先登录,再进行评论。

回答(1 个)

madhan ravi
madhan ravi 2020-4-19
编辑:madhan ravi 2020-4-20
(x.^2).^(1/3) % edited after sir Walter’s comment
  2 个评论
Walter Roberson
Walter Roberson 2020-4-20
The question does not involve any square roots, only a cube root.
(x.^2).^(1/3)
Or alternately, because we can predict that x^2 will be real-valued and non-negative:
nthroot(x.^2, 3)

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Graph and Network Algorithms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by