Segment Set Definition

We then need to define the segment sizes that will be used. This is done as explained in Section 14.4.2:
    % define the segment sizes that will be used
    K     =    12; % base segment size
    Ns    =   [ 12 24  36  48  72   96  144 192 288];
    nfeat=length(Ns);
    shfts=repmat(K,1,nfeat);

    % AR model orders - needed for AR features and for auto-segmentation and labeling
    Ps    =   [ 2   3   4   5   6    7    8   9  10];
Note that we also select an AR model order corresponding to each segment size. Even if we don't use AR features, we will need this for the automatic segmentation and labeling.