- function [y] = rjMultiquadric(mu,x);
- %
- if nargin < 2, error('Not enough input arguments.'); end
- [N,d] = size(x); % N = number of data, d = dimension of x.
- y=zeros(N,1);
- for j=1:N,
- z=norm(x(j,:)-mu(1,:)); % Euclidean distance.
- y(j,1)= sqrt(z.^(2) -(0.5)^(2)); % Multiquadric>
- end;