clear
M = input('Maximum Loop = ')
for I = 1:M
    k = I
    x(I) = input('Nilai B = ')
    K = length(Performance_Index);
    y1(I) = RMSError(K);
    y2(I) = RMSEffort(K);
    y(I) = Performance_Index(K)
    pause;
end
clf
plot(x,y,x,y1,x,y2), grid on, xlabel('B'), ylabel('RMSE+RMSEf')