tms=[0.025 0.030 0.035];
for i=1:length(tms);
for j=1:125;
psm(j)=j+0.5;
t(i,j)= tms(i)*0.14/((psm(j).^(0.02))-1);
end
end
semilogx(psm,t(1,:), psm,t(2,:),psm,t(3,:))
grid on
xlabel(‘Current(PSM) – ampere’)
ylabel(‘Time (detik)’)
title(‘Time-Current Curve’)
legend(‘tms = 0.025’,‘tms = 0.030’,‘tms = 0.035’,1)