Question: Write Matlab code with F1 being used 1% of points, F2 being used for 85% of points, and F3 and F4 being 7% of the
Write Matlab code with F1 being used 1% of points, F2 being used for 85% of points, and F3 and F4 being 7% of the points each. The starting point is (0,0) and the total number of points is 1e6.
The formula for one transformation is: f(x,y)=[acbd][xy]+[ef] To generate the Barnsley fern, four affine transformations will be used. f1(x,y)=[0000.16][xy]f2(x,y)=[0.850.040.040.85][xy]+[01.60]f3(x,y)=[0.200.230.260.22][xy]+[01.60]f4(x,y)=[0.150.260.280.24][xy]+[00.44]
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
