PRTools Contents

PRTools User Guide

setfeatsize

SETFEATSIZE

Fixed mapping, (re)set the feature size of a dataset

    A = SETFEATSIZE(A,FEATSIZE)
    A = A*SETFEATSIZE([],FEATSIZE)
    A = A*SETFEATSIZE(FEATSIZE)

Input
 A Dataset
 FEATSIZE Feature size vector, default: scalar with actual featsize

Output
 A Dataset

Description

By default the feature size of a dataset is its number of features, i.e.  the number of columns in the DATA field of A. If the features are samples  of a multi-dimensional data item, e.g. the pixels of an image, the  original size of this data item may be stored in FEATSIZE. The product of  all elements in FEATSIZE has to be equal to the number of columns in the  DATA field of A.

This routine is particulary useful as A = A*SETFEATSIZE to remove image  size settings for the feature size.

There is a low level version of this routine with the same name in the  PRDATASET directory.

See also

datasets, mappings,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.