Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Mathematical execution of contourc

1 view (last 30 days)
Kerem Yüksel
Kerem Yüksel on 14 Nov 2023
Closed: Stephen23 on 14 Nov 2023
How does contourc command filters the same contour levels? Is it possible to execute that function without any quick command? What is the mathematical expression that contourc executes? Thanks.

Answers (1)

Matt J
Matt J on 14 Nov 2023
Edited: Matt J on 14 Nov 2023
The documentation doesn't disclose it, but I would guess that it does a kind of 2D bisection algorithm. Sample points are chosen near where Z=level and the area covered by the samples is iteratively contracted to make abs(Z-level) smaller and smaller.

This question is closed.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!