Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
This function provides a bearable algorithm for generating a fractal image, in particular, the Sierpinski Triangle. The function opens a new figure and plots the result for a given number of iterations, which must be greater or equal than 0. It should be taken into consideration that the more iterations, the more computation time.
Example of use:
sierpinski_triangle(6);
Cita come
Víctor Martínez-Cagigal (2026). Sierpinski Fractal Triangle (https://it.mathworks.com/matlabcentral/fileexchange/50417-sierpinski-fractal-triangle), MATLAB Central File Exchange. Recuperato .
Riconoscimenti
Ispirato: patternMaker( numSides, numPoints, stepFraction, randSeed )
Informazioni generali
- Versione 2.0.0.0 (3,71 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
