35. The Sierpinski triangle can be implemented in MATLAB by plotting points iteratively according to one of

Question:

35. The Sierpinski triangle can be implemented in MATLAB by plotting points iteratively according to one of the following three rules that are selected randomly with equal probability.

Rule 1: , Rule 2: , Rule 3: , Write a program in a script file that calculates the x and y vectors and then plots y versus x as individual points [use plot(x,y,‘^’)]. Start with nd . Run the program four times with 10, 100, 1,000, and 10,000 iterations.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: