%% A script file to produce an iterated function system. % This uses plotIFS.m, which is a Matlab function on our class website. % Download it, and it should be in the same folder as this file. % numits=10000; % Number of points to plot. numfunc=3; % Number of functions you're using (also the number of rows in A). % Here are the functions (6 constants per function) A=[ 0.5 0 0 0.5 0 0 0.5 0 0 0.5 25 50 0.5 0 0 0.5 50 0]; y=plotIFS(numfunc,numits,A); %The output, y, is the set of points plotted.