Last change
on this file since 110 was
94,
checked in by (none), 14 years ago
|
PPPP - ica serial implementation
|
File size:
301 bytes
|
Rev | Line | |
---|
[94] | 1 | % Calculates stats on most recent weight change - magnitude and angle between |
---|
| 2 | % old and new weight. |
---|
| 3 | |
---|
| 4 | function [change,delta,angle]=wchange(w,oldw,olddelta) |
---|
| 5 | [M,N]=size(w); delta=reshape(oldw-w,1,M*N); |
---|
| 6 | change=delta*delta'; |
---|
| 7 | angle=acos((delta*olddelta')/sqrt((delta*delta')*(olddelta*olddelta'))); |
---|
Note: See
TracBrowser
for help on using the repository browser.