Basically I have a function file set up called BSform.m, I'm confident this has nothing to do with my problem
My problem is this driver file for the function
X=zeros(101,2);
for i = 0:0.01:1
[C1,P1]=BSform(200,200,2,0,0.02,i);
Y=[C1,P1]
X(100*i+1,1)=Y(1,1)
X(100*i+1,2)=Y(1,2)...