Line | |
---|
1 | %UNITM Fixed unit mapping |
---|
2 | % |
---|
3 | % W = UNITM |
---|
4 | % B = A*UNITM |
---|
5 | % B = UNITM(A) |
---|
6 | % |
---|
7 | % INPUT |
---|
8 | % A Array or dataset |
---|
9 | % |
---|
10 | % OUTPUT |
---|
11 | % W Unit mapping, if applied to dataset, it is returned unchanged |
---|
12 | % B A |
---|
13 | % |
---|
14 | % DESCRIPTION |
---|
15 | % This is a fixed unit mapping that maps any dataset on itself. There is |
---|
16 | % also a trainable unit mapping, named UNITTM. |
---|
17 | % |
---|
18 | % SEE ALSO |
---|
19 | % MAPPINGS, UNITTM |
---|
20 | |
---|
21 | % Copyright: R.P.W. Duin, r.p.w.duin@prtools.org |
---|
22 | % Faculty EWI, Delft University of Technology |
---|
23 | % P.O. Box 5031, 2600 GA Delft, The Netherlands |
---|
24 | |
---|
25 | function w = unitm (a,v) |
---|
26 | |
---|
27 | prtrace(mfilename); |
---|
28 | |
---|
29 | if (nargin == 0) | (isempty(a)) |
---|
30 | w = mapping(mfilename,'fixed'); |
---|
31 | w = setname(w,'Unit Mapping'); |
---|
32 | else |
---|
33 | w = a; |
---|
34 | end |
---|
35 | |
---|
36 | return |
---|
Note: See
TracBrowser
for help on using the repository browser.