資源簡介
壓縮感知的代碼,里面有好多測量矩陣可以挑選,挺好挺全的代碼
代碼片段和文件信息
%?Performs?a?runtime?benchmark?of?several?algorithms.
%
%?Written?by?Radu?Berinde?MIT?2008
init
SignalType?=?‘plus_minus_one_peaks‘;
Methods?=?{‘countmin‘?‘countmin‘?‘smp(102)‘?‘gpsr‘?‘lp‘};
Trials?=?{200?200?50?20?10};
MatrixTypes?=?{‘countmin10‘?‘countmin50‘?‘countmin10‘?‘countmin10‘?‘countmin10‘};
Descriptions?=?{‘Count-Min?(d=10)‘?‘Count-Min?(d=50)‘?‘SMP‘?‘GPSR‘?‘l1-Magic‘};
Ns?=?round(logspace(3?6?10));
Ks?=?round(Ns?.*?0.002);
Ms?=?round(Ns?.*?0.10);
times?=?zeros(length(Methods)?length(Ns));
for?i?=?length(Ns):-1:1
????N?=?Ns(i);
????K?=?Ks(i);
????M?=?Ms(i);
?
????for?m?=?1:length(Methods)
????????method?=?Methods{m};
????????%?report
????????title(sprintf(‘i?=?%d?(N=%d?K=%d?M=%d)?m?=?%d‘?i?N?K?M?m));
????????drawnow
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1562??2008-10-06?18:56??cs-code\benchmark.m
?????文件????????581??2008-10-09?14:38??cs-code\benchmark_plot.m
?????文件???????1416??2013-07-03?11:51??cs-code\demo.m
?????文件???????2777??2008-10-07?09:15??cs-code\gen_matrix.m
?????文件???????1012??2008-10-01?11:18??cs-code\gen_signal.m
?????文件????????490??2008-01-16?20:32??cs-code\gen_sparse_signal.m
?????文件??????27090??2007-11-24?19:56??cs-code\Images\boat.jpg
????..A.SH.??????7680??2014-03-10?11:10??cs-code\Images\Thumbs.db
?????文件???????3364??2012-09-15?17:58??cs-code\image_experiment.asv
?????文件???????3289??2008-10-06?19:51??cs-code\image_experiment.m
?????文件????????858??2008-10-06?19:52??cs-code\image_test.m
?????文件????????136??2008-10-04?19:16??cs-code\init.m
?????文件????????920??2008-01-16?16:38??cs-code\load_image.m
?????文件????????699??2008-01-04?17:19??cs-code\Matrices\At_fw.m
?????文件????????604??2008-01-04?17:19??cs-code\Matrices\A_fw.m
?????文件???????1494??2008-10-06?19:30??cs-code\Matrices\gen_matrix_countmin.m
?????文件???????1455??2008-10-06?19:40??cs-code\Matrices\gen_matrix_countmin_implicit_twowise.m
?????文件???????1771??2008-10-06?19:34??cs-code\Matrices\gen_matrix_countmin_threewise.m
?????文件???????1729??2008-10-06?19:31??cs-code\Matrices\gen_matrix_countmin_twowise.m
?????文件????????445??2008-09-23?23:12??cs-code\Matrices\gen_matrix_fourier.m
?????文件????????296??2008-03-08?12:38??cs-code\Matrices\gen_matrix_gaussian.m
?????文件????????570??2008-03-08?12:38??cs-code\Matrices\gen_matrix_hadamard.m
?????文件???????1187??2008-10-10?14:29??cs-code\Matrices\gen_matrix_sparse.m
?????文件????????806??2008-03-08?12:39??cs-code\Matrices\gen_matrix_sparseplusminus.m
?????文件???????1284??2008-10-06?19:43??cs-code\Matrices\gen_matrix_std.m
?????文件????????283??2008-10-01?10:10??cs-code\Matrices\randint.m
?????文件???????3214??2009-10-05?23:18??cs-code\Readme
?????文件???????5530??2012-09-15?17:41??cs-code\recovery.asv
?????文件???????5607??2013-10-03?11:32??cs-code\recovery.m
?????文件????????769??2008-10-01?10:40??cs-code\recover_countmin_positive.m
............此處省略69個文件信息
評論
共有 條評論