Fractal: area and perimeter of Koch snowflake - MATLAB Cody - MATLAB Central

Problem 44073. Fractal: area and perimeter of Koch snowflake

Difficulty:Rate

Starting from an equilateral triangle with side 's', what is the area and perimeter of Koch snowflake at n'th recursive iteration?

For given 's' and 'n' as function input, return 'Area' and 'Perimeter' of snowflake. (round to nearest integer for simplicity)

Ref: https://en.wikipedia.org/wiki/Koch_snowflake

Solution Stats

45.54% Correct | 54.46% Incorrect
Last Solution submitted on Dec 28, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers37

Suggested Problems

More from this Author9

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page