rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
riccati_kernel_functions.m
Go to the documentation of this file.
1 function k = riccati_kernel_function(model, type)
2 %function k = riccati_kernel_function(model, detailed_data)
3 % Return the kernel for the interpolation between the gamma values
4 % TODO: Maybe move to a class in RB matlab...
5 %
6 % Andreas Schmidt, 2015
7 
8 switch type
9  case 'multiquadratic'
10  k = @(x,y) sqrt(1 + norm(x-y)^2);
11  case 'gauss'
12  k = @(x,y) exp( -norm(x-y)^2/5000 );
13  case 'thinplate'
14  k = @(x,y) norm(x-y)^2*log(norm(x-y)+eps);
15  otherwise
16  error(['Kernel function type ', type, ...
17  ' is not known']);
18 end
19 
20 end
function k = riccati_kernel_function(model, type)
Return the kernel for the interpolation between the gamma values TODO: Maybe move to a class in RB ma...