- #1
- 6
- 0
i need to write this into MATLAB
http://www.engin.umich.edu/class/bme456/ch10fitbiphasic/biphasfit19.gif [Broken]
which i have done here:
uj = (-sig/Ha)*(xj-(((2*h)/(pi^2))*((((-1)^n)/((n+1/2)^(1/2)))*sin((n+1/2)*((pi*xj)/h))*exp(((-Ha*ko)/(h^2))*((n+1/2)^2)*(pi^2)*t))));
how do i vary n, and get the equation to sum over n=0-3? and then again from n=0-100?
http://www.engin.umich.edu/class/bme456/ch10fitbiphasic/biphasfit19.gif [Broken]
which i have done here:
uj = (-sig/Ha)*(xj-(((2*h)/(pi^2))*((((-1)^n)/((n+1/2)^(1/2)))*sin((n+1/2)*((pi*xj)/h))*exp(((-Ha*ko)/(h^2))*((n+1/2)^2)*(pi^2)*t))));
how do i vary n, and get the equation to sum over n=0-3? and then again from n=0-100?
Last edited by a moderator: