Mercurial > hg > smallbox
comparison examples/Automatic Music Transcription/SMALL_AMT_KSVD_Sparsity_test.m @ 224:fd0b5d36f6ad danieleb
Updated the contents of this branch with the contents of the default branch.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 12 Apr 2012 13:52:28 +0100 |
parents | 9c418bea7f6a |
children |
comparison
equal
deleted
inserted
replaced
196:82b0d3f982cb | 224:fd0b5d36f6ad |
---|---|
139 | 139 |
140 subplot (3,1,3); plot(Tdata(:), [AMT_res(:).FP], 'ro-'); | 140 subplot (3,1,3); plot(Tdata(:), [AMT_res(:).FP], 'ro-'); |
141 title('False Positives vs Tdata'); | 141 title('False Positives vs Tdata'); |
142 | 142 |
143 FS=filesep; | 143 FS=filesep; |
144 [pathstr1, name, ext, versn] = fileparts(which('SMALLboxSetup.m')); | 144 [pathstr1, name, ext] = fileparts(which('SMALLboxSetup.m')); |
145 cd([pathstr1,FS,'results']); | 145 cd([pathstr1,FS,'results']); |
146 [filename,pathname] = uiputfile({' *.mid;' },'Save midi'); | 146 [filename,pathname] = uiputfile({' *.mid;' },'Save midi'); |
147 if filename~=0 writemidi(BLmidi, [pathname,FS,filename]);end | 147 if filename~=0 writemidi(BLmidi, [pathname,FS,filename]);end |
148 [filename,pathname] = uiputfile({' *.fig;' },'Save figure TP/FN/FP vs Tdata'); | 148 [filename,pathname] = uiputfile({' *.fig;' },'Save figure TP/FN/FP vs Tdata'); |
149 if filename~=0 saveas(resFig, [pathname,FS,filename]);end | 149 if filename~=0 saveas(resFig, [pathname,FS,filename]);end |