Question: how to calculate intersection of two lines in matlab?
Answer: t=0:.1:10;
y1=sin(t); % say f1.
y2=exp(t); %f2.
intersection=find(y1==y2);