[x,istart,nsamp]=hmm_maketestdata(Pi,A,nrecord,nsteps,N,NFEAT);There are 10 records of length 400 segments, thus x is size 2-by-4000. The auxiliary outputs istart,nsamp are vectors containing the starting samples and lengths of each of the ten records. This makes it possible to locate individual records within the matrix. The script then plots the data using the command
plot(x(1,:),x(2,:),'b.'); xlabel('MEAN'); ylabel('STDV');and waits for keyboard input. The resulting figure is shown in Figure 13.21.
|