How to merge two spheres using matlab?

Lets suppose we have two spheres of same or different radii. i want to merge them. sure it will give overlap. i am trying but could not succedd so far. Can anyone guide. Thanks for all cooperation in advance.

4 Comments

What do you mean by merge? You want to remove the intersection part?
yes KSSV, i want to remove the intersection part.
KSSV
KSSV on 19 Feb 2020
Edited: KSSV on 19 Feb 2020
YOu have any code for the generation of sphere? Show us the code..You may consider reading this:
i consider just normal spheres.
For example x^2 + y^2 +z^2 = R^2
(x-d)^2 + y^2 +z^2 = r^2
when i merge them, they overlap each other.
i want to exclude the overlapping part and then want to find its volume.

Sign in to comment.

Answers (0)

Asked:

on 19 Feb 2020

Commented:

on 19 Feb 2020

Community Treasure Hunt

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

Start Hunting!