Feeds:
Posts
Comments

Archive for the ‘Matlab’ Category

??? Attempted to access T(1,:); index out of bounds because size(T)=[0,0].

Error in ==> trainingxls at 9

JOneuron  = length (T(1,:));

Ternyata hanya salah memasukkan range data untuk  matrik T nya.

Tadinya :

P = xlsread(‘tiroid.xls’,’h4:l200′);

T = xlsread(‘tiroid.xls’,’h4:l200′);

yang benar :

P = xlsread(‘tiroid.xls’,’h4:l200′);
T = xlsread(‘tiroid.xls’,’h4:h200′);

Read Full Post »

****************

MSE = [MSE (MSEepoch/JumPola)];

kesalahan :

?? Attempted to access MSE(0.206437); index must be a positive integer or logical.

Error in ==> nnbplatih at 113

MSE = (MSE(MSEepoch/JumPola));

************

Tidak ada kesalahan :

MSE = [(round(MSE)) (round(MSEepoch/JumPola))];

MSE di grafik hasilnya 0

************

Penulisan yang benar :

MSE = ([MSE (MSEepoch/JumPola)]);

*************

Read Full Post »