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
2020년 4월 19일
you used the square root of x squared, but the question requires the cube root of x squared.
답변 (1개)
madhan ravi
2020년 4월 19일
편집: madhan ravi
2020년 4월 20일
(x.^2).^(1/3) % edited after sir Walter’s comment
댓글 수: 2
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 Center 및 File Exchange에서 Directed Graphs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!