Date: Feb 5, 2013 3:44 AM
Author: mado
Subject: if condition problem

i want to do this flow chart but i got obstacle on my way which i pointed to in the picture in this link http://www.mediafire.com/view/?2tkvty7sq9d419o
i did this code but it'snot working please help. thanks



if V>Vold %v(k-1)=vold
if I==Iold
return

elseif I>Iold %I(k-1)=Iold
dvref=Vref+c
else dvref=Vref-c
end
elseif dI==-I/V
return
elseif dI/dV > -I/V
dvref=Vref+c
else
dvref=Vref-c
end