Mathematical execution of contourc

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

Asked:

on 14 Nov 2023

Closed:

on 14 Nov 2023

Community Treasure Hunt

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

Start Hunting!