Unformatted text preview: fit the experimentallymeasured curves. One way to deal with this is to include an ifstatement that detects when the voltage parameter is near the bad voltage (45 or 60 mV), and for these cases, return the limit of α as V approaches that value. For α n the limit is 0.1, and for α m the limit is 1. Example MATLAB code: %% m_inf if (abs(v(i) + 45) <=0.01) a_m(i) = 1; else a_m(i) = (0.1*(v(i) + 45))/(exp((v(i) + 45)/10)  1); end; %% n_inf if (abs(v(i) + 60) <=0.01) a_n(i) = .1; else a_n(i) = (0.01*(v(i) + 60))/(exp((v(i) +60)/10)  1); end;...
View
Full Document
 Spring '06
 Mel
 AP, Harshad number

Click to edit the document details