function kernelPred25Calculator(mre3,mre3Kernel,mre5,mre5Kernel,mre7,mre7Kernel,mre9,mre9Kernel,mreBestK,mreBestKKernel) allMre3 = []; for i = 1:20 allMre3 = [allMre3,mre3(i,:)]; end allMre3(isnan(allMre3)) = []; allMre5 = []; for i = 1:20 allMre5 = [allMre5,mre5(i,:)]; end allMre5(isnan(allMre5)) = []; allMre7 = []; for i = 1:20 allMre7 = [allMre7,mre7(i,:)]; end allMre7(isnan(allMre7)) = []; allMre9 = []; for i = 1:20 allMre9 = [allMre9,mre9(i,:)]; end allMre9(isnan(allMre9)) = []; allMreBestK = []; for i = 1:20 allMreBestK = [allMreBestK,mreBestK(i,:)]; end allMreBestK(isnan(allMreBestK)) = []; allMre3Kernel = []; for i = 1:20 allMre3Kernel = [allMre3Kernel,mre3Kernel(i,:)]; end allMre3Kernel(isnan(allMre3Kernel)) = []; allMre5Kernel = []; for i = 1:20 allMre5Kernel = [allMre5Kernel,mre5Kernel(i,:)]; end allMre5Kernel(isnan(allMre5Kernel)) = []; allMre7Kernel = []; for i = 1:20 allMre7Kernel = [allMre7Kernel,mre7Kernel(i,:)]; end allMre7Kernel(isnan(allMre7Kernel)) = []; allMre9Kernel = []; for i = 1:20 allMre9Kernel = [allMre9Kernel,mre9Kernel(i,:)]; end allMre9Kernel(isnan(allMre9Kernel)) = []; allMreBestKKernel = []; for i = 1:20 allMreBestKKernel = [allMreBestKKernel,mreBestKKernel(i,:)]; end allMreBestKKernel(isnan(allMreBestKKernel)) = []; pred25 = zeros(10,1); pred25(1) = size(find(allMre3<=0.25),2)/size(allMre3,2); MMRE(2) = mean(allMre5); MMRE(3) = mean(allMre7); MMRE(4) = mean(allMre9); MMRE(5) = mean(allMreBestK); MMRE(6) = mean(allMre3Kernel); MMRE(7) = mean(allMre5Kernel); MMRE(8) = mean(allMre7Kernel); MMRE(9) = mean(allMre9Kernel); MMRE(10) = mean(allMreBestKKernel); MdMRE MMRE end