Mercurial > hg > emotion-detection-top-level
comparison Code/Test/plotColourSignal.m @ 4:92ca03a8fa99 tip
Update to ICASSP 2013 benchmark
author | Dawn Black |
---|---|
date | Wed, 13 Feb 2013 11:02:39 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:e1cfa7765647 | 4:92ca03a8fa99 |
---|---|
1 function [] = plotColourSignal( x, frameLength, noOfFrames, values ) | |
2 | |
3 figure(1); | |
4 hold off; | |
5 j=1; | |
6 for( i=1: frameLength+1 : noOfFrames * frameLength ) | |
7 if( values(j) == 0 ) | |
8 plot( [i i+frameLength], x(i:i+frameLength), 'r' ); | |
9 elseif( values(j) == 1 ) | |
10 plot( [i i+frameLength], x(i:i+frameLength), 'g' ); | |
11 end | |
12 end |