Demo entry 6640231

matlab

   

Submitted by anonymous on Sep 11, 2017 at 17:47
Language: Matlab. Code size: 456 Bytes.

%   Import data
F=FRETdistance;

%   Convert the separation N into actual
%   spatial separation r
L=0.4;
a=2.5;
r=sqrt((0.34*F(:,1)+L).^2+a.^2);

plot(r,F(:,2),'o','linewidth',2);

%   Compare with Equation 2.3 (P88)
rf=7.2;
r1=0:0.1:10;
e=(1+(r1/rf).^6).^(-1);
hold on
plot(r1,e,'linewidth',2);
xlim([3,10]);
ylim([0,1]);
xlabel(string('donor-acceptor separation [nm]'),'fontsize',15);
ylabel(string('\epsilon_{FRET}'),'fontsize',15);

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).