wK = w0(:);
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
What does this code mean? wK = w0(:);
wk = w0(:);
y = zeros(N,1);
e = zeros(N,1);
W = wk;
for i = 1:N,
uvi = [u(i+1) u(i)]';
y(i) = wk'*uvi;
e(i) = d(i) - y(i);
w_new = wk + (mu*e(i))*uvi;
wk = w_new;
W = [W wk];
0 Kommentare
Antworten (1)
madhan ravi
am 26 Mär. 2019
https://in.mathworks.com/help/matlab/ref/colon.html - (:) forces a matrix or a row vector as a column vector
5 Kommentare
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!