Guest User

Untitled

a guest
Dec 14th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. U(1,1) = x(n); % Present Input
  2.  
  3. y(n) = (W)*U'; % Calculating output of LMS
  4. e(n) = x(n) - y(n); % Instantaneous error
  5. W = W + eta * e(n) * U ; % Weight update rule of LMS
  6. J(k,n) = e(n) * (e(n))'; % Instantaneous square error
Add Comment
Please, Sign In to add comment