Sample triangle (2D, 3D, ND)

Function to generate a triangular sampling grid of a given triangle
149 Downloads
Updated 23 Jul 2024
Please check the examples tab (.mlx doc) here on the right for a complete description.
Once downloaded, typewrite 'doc sample_triangle' or 'help sample_triangle' in Matlab console for support.
To benefit from the file documentation attached, be sure to download all the files.
Please don't forget to rate this code if it helped you. Thanks ! ;-)

Cite As

Nicolas Douillet (2024). Sample triangle (2D, 3D, ND) (https://github.com/NicolasDouillet/sample_triangle/releases/tag/v4.2.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
4.2.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/sample_triangle/releases/tag/v4.2.1

4.2

See release notes for this release on GitHub: https://github.com/NicolasDouillet/sample_triangle/releases/tag/v4.2

4.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/sample_triangle/releases/tag/v4.1

4.0

See release notes for this release on GitHub: https://github.com/NicolasDouillet/sample_triangle/releases/tag/v4.0

3.3

Cover img

3.2

+ .mlx livescript, update description and cover image

3.1

cover img new test

3.0

Improved input parsing, variable names, updated help, doc, description, cover img

2.6

Improved : option_random, see also section, help, doc, description

2.5

Improved doc

2.4

doc name troubleshouting when packaging

2.3

+ html documentation

2.2

Fix nbstep = 2 bug

2.1.0.0

- Added triangle indices
- Updated example with a triangulation and a mesh

2.0.0.0

Major improvement and valuable update :

- Works in N dimension
- Add one 4d example
- Matlab (R) best coding practice
- Improve performance
- Improve documentation, syntax, clarity (sections)

1.1.0.0

- Syntax simplification
- Typography
- tags

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.