Dear all
I face a problem with for loop in matlab. My equation is
Jw(i) = p1 - p2*Jw(i)/(1+B/Jw(i))-P
when I use for loop to step size Jw(i), the output show NaN because this term (B/Jw(i)) . This Jw is in divided term.
When I rearrange this equation, this term is still appear.
How to solve this problem? Please help me.
Best regards,
Lida