wK = w0(:);
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
madhan ravi
2019년 3월 26일
https://in.mathworks.com/help/matlab/ref/colon.html - (:) forces a matrix or a row vector as a column vector
댓글 수: 5
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!