Plot surface plot from implicit equation

3 views (last 30 days)
Martina Clairand
Martina Clairand on 15 Jul 2021
Commented: Star Strider on 15 Jul 2021
Hello,
I want to plot a capsule thanks to this implicit equation and without using fimplicit3 function:
X^2+Y^2+1/4*(abs(Z-a)+abs(Z+a)-2*a)^2-r^2=0
where a=2 and r=2;
Do you have an idea on how to do that? I would like also to have the X, Y and Z coordinates for plotting the capsule with surf(X, Y, Z).
Thank you in advance for your answer!

Answers (0)

Community Treasure Hunt

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

Start Hunting!