Mercurial > hg > emotion-detection-top-level
view 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 |
line wrap: on
line source
function [] = plotColourSignal( x, frameLength, noOfFrames, values ) figure(1); hold off; j=1; for( i=1: frameLength+1 : noOfFrames * frameLength ) if( values(j) == 0 ) plot( [i i+frameLength], x(i:i+frameLength), 'r' ); elseif( values(j) == 1 ) plot( [i i+frameLength], x(i:i+frameLength), 'g' ); end end