Mercurial > hg > smallbox
comparison examples/Automatic Music Transcription/SMALL_AMT_SPAMS_test.m @ 220:0d30f9074dd9
Merge
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 11 Apr 2012 15:56:39 +0100 |
parents | 9c418bea7f6a |
children |
comparison
equal
deleted
inserted
replaced
165:775caafd5651 | 220:0d30f9074dd9 |
---|---|
140 | 140 |
141 subplot (3,1,3); plot(lambda(:), [AMT_res(:).FP], 'ro-'); | 141 subplot (3,1,3); plot(lambda(:), [AMT_res(:).FP], 'ro-'); |
142 title('False Positives vs lambda'); | 142 title('False Positives vs lambda'); |
143 | 143 |
144 FS=filesep; | 144 FS=filesep; |
145 [pathstr1, name, ext, versn] = fileparts(which('SMALLboxSetup.m')); | 145 [pathstr1, name, ext] = fileparts(which('SMALLboxSetup.m')); |
146 cd([pathstr1,FS,'results']); | 146 cd([pathstr1,FS,'results']); |
147 [filename,pathname] = uiputfile({' *.mid;' },'Save midi'); | 147 [filename,pathname] = uiputfile({' *.mid;' },'Save midi'); |
148 if filename~=0 writemidi(BLmidi, [pathname,FS,filename]);end | 148 if filename~=0 writemidi(BLmidi, [pathname,FS,filename]);end |
149 [filename,pathname] = uiputfile({' *.fig;' },'Save figure TP/FN/FP vs lambda'); | 149 [filename,pathname] = uiputfile({' *.fig;' },'Save figure TP/FN/FP vs lambda'); |
150 if filename~=0 saveas(resFig, [pathname,FS,filename]);end | 150 if filename~=0 saveas(resFig, [pathname,FS,filename]);end |