Question: Matlab script 35. The Sierpinski triangle can be implemented Ill lUI are selected ran domly with equal probability. Rule 1: 0.5x Vn+ 0.5y, Rule 2:
35. The Sierpinski triangle can be implemented Ill lUI are selected ran domly with equal probability. Rule 1: 0.5x Vn+ 0.5y, Rule 2: x,t+1-0.5x, t 0.25 , yn+1-0.5y, + (v 3) / 4 Rule 3: 0.5x, 0.5, 0.5y 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 "m + 1 "m + 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
