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.

답변 (1개)

Torsten
Torsten 2022년 11월 19일

0 개 추천

댓글 수: 2

Gnutov Leonid
Gnutov Leonid 2022년 11월 19일
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.
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))

댓글을 달려면 로그인하십시오.

카테고리

제품

릴리스

R2022b

질문:

2022년 11월 19일

댓글:

2022년 11월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by