MAPM Mapping to execute arbitray Matlab function on dataset
[B,OUT] = MAPM(A,COMMAND,PAR1,PAR2,....)
DescriptionOn the data in A, the double array A the following command is executed [B,OUT] = COMMAND(DATA,PAR1,PAR2,....)
If A is a dataset then B is converted to a similar dataset. If A is a cell array, then results are combined into a cell array as well. This command differs from the similar command FILTM which operates object by object (row by row). The COMMAND in MAPM operates on the entire data matrix. Example(s)
argmin = mapm('min')*out2;
nexpm = mapm('uminus')*mapm('exp');
softm = mapm('setlabtype','soft');
See alsodatasets, datafiles, im2obj, data2im, filtm, filtim, out2,
|