ellipsoids intersection volume- how to speed up the code ?
3 views (last 30 days)
I have to determine the intersection volume occupied by ellipsoid in 3D space vs the volume occupied by another ellipsoid at a different orientation. I have created bounding boxes around the ellipsoids for this purpose. However, the usage of below commands makes the code slow.
[x y z]= ellispoid(xc,yc,zc,xr,yr,zr,n)
Any suggestions on how to make the code faster. I dont need the graphical visualisation of the ellipsoidal intersection, so can that be somehow eliminated to make code faster ?