From 25d94aa8aabb8ac3e8bbea0bc439ea6148444cc8 Mon Sep 17 00:00:00 2001 From: leochanj Date: Wed, 21 Oct 2020 01:52:54 -0400 Subject: debug libextra and remove matlab --- .../benchmarks/texture_synthesis/src/matlab/skew2.m | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 SD-VBS/benchmarks/texture_synthesis/src/matlab/skew2.m (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlab/skew2.m') diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlab/skew2.m b/SD-VBS/benchmarks/texture_synthesis/src/matlab/skew2.m deleted file mode 100755 index 623d6ca..0000000 --- a/SD-VBS/benchmarks/texture_synthesis/src/matlab/skew2.m +++ /dev/null @@ -1,21 +0,0 @@ -% S = SKEW2(MTX,MEAN,VAR) -% -% Sample skew (third moment divided by variance^3/2) of a matrix. -% MEAN (optional) and VAR (optional) make the computation faster. - -function res = skew2(mtx, mn, v) - -if (exist('mn') ~= 1) - mn = mean2(mtx); -end - -if (exist('v') ~= 1) - v = var2(mtx,mn); -end - -if (isreal(mtx)) - res = mean(mean((mtx-mn).^3)) / (v^(3/2)); -else - res = mean(mean(real(mtx-mn).^3)) / (real(v)^(3/2)) + ... - i * mean(mean(imag(mtx-mn).^3)) / (imag(v)^(3/2)); -end -- cgit v1.2.2