Difference between revisions of "Team:Exeter/Modelling parameterscan"

 
Line 65: Line 65:
  
  
   </style></head><body><div class="content"><h1>Parameter Scanning</h1><p>A brief section of code that will call our simulation function and scan over a range for a given parameter. See <a href="https://2015.igem.org/Team:Exeter/Modeling">https://2015.igem.org/Team:Exeter/Modelling_Parameter</a> for more information.</p><pre class="codeinput"><span class="keyword">function</span> parameterscan()
+
   </style></head><body><div class="content"><h1>Parameter Scanning</h1><p>A brief section of code that will call our simulation function and scan over a range for a given parameter. See <a href="https://2015.igem.org/Team:Exeter/Modeling">https://2015.igem.org/Team:Exeter/Modeling</a> for more information.</p><pre class="codeinput"><span class="keyword">function</span> parameterscan()
 
     GFPovertemps=[];
 
     GFPovertemps=[];
 
     T=273:5:343; <span class="comment">%0 degrees to 69</span>
 
     T=273:5:343; <span class="comment">%0 degrees to 69</span>

Latest revision as of 03:40, 19 September 2015

Parameter Scanning

Parameter Scanning

A brief section of code that will call our simulation function and scan over a range for a given parameter. See https://2015.igem.org/Team:Exeter/Modeling for more information.

function parameterscan()
    GFPovertemps=[];
    T=273:5:343; %0 degrees to 69
    r=[20 100 200 400];
    t=[20];
    Doubleparameterscan=[];

    for j=1:size(r,2);
        for i=1:size(T,2);
            Doubleparameterscan(i,j)=BM_07_09_insilicobinding(t(1),r(j),1000,T(i));
    %         xtemps[i]=char(T(i)-273);
        end
    end


    savefile= 'Doubleparameterscan';
    save(savefile, 'Doubleparameterscan')
    Doubleparameterscan; %Use this saved array to plot a Surface
end