How do i use fimplicit function for a graph?

1 view (last 30 days)
dunphy
dunphy on 19 Apr 2020
Edited: madhan ravi on 20 Apr 2020
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 Comment
Walter Roberson
Walter Roberson on 19 Apr 2020
you used the square root of x squared, but the question requires the cube root of x squared.

Sign in to comment.

Answers (1)

madhan ravi
madhan ravi on 19 Apr 2020
Edited: madhan ravi on 20 Apr 2020
(x.^2).^(1/3) % edited after sir Walter’s comment
  2 Comments
Walter Roberson
Walter Roberson on 20 Apr 2020
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)

Sign in to comment.

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!