Plotting multiple quadrics in 3D

Hello everyone. For my project, I want to have a matlab program that will plot 2 quadrics in 3 dimensions. I tried to use isosurface which is good for visual representation. But I'd like to improve it by implementing slider(s) to change coefficient(s) of quadric(s) and the most important thing: plot the intersection of these quadrics. I tried some of the other alternatives like defining F3 = F1-F2, but it's not really the intersection as the intersection should be F1-F2 = 0. Thank you for the help in advance.

Respuestas (1)

Torsten
Torsten el 19 de Nov. de 2022

0 votos

2 comentarios

Gnutov Leonid
Gnutov Leonid el 19 de Nov. de 2022
This is a good guide to plot 1 quadric. It is not "friendly" to draw 2 quadrics. May be I'm too bad at plotting and understanding how it works in MATLAB.
Torsten
Torsten el 19 de Nov. de 2022
At least it should be the correct tool to draw the intersection of two quadratics:
fimplicit3(@(x,y,z) Quadratic1(x,y,z)-Quadratic2(x,y,z))

Iniciar sesión para comentar.

Productos

Versión

R2022b

Preguntada:

el 19 de Nov. de 2022

Comentada:

el 19 de Nov. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by