x should be in alpha coordinates.
0001 function [out] = ratioScore(x,Prob) 0002 % x should be in alpha coordinates. 0003 0004 %expdata = Prob.user.expdata; 0005 0006 %model = Prob.user.model; 0007 %N = model.N; 0008 ration = Prob.user.ration; 0009 ratiod = Prob.user.ratiod; 0010 0011 out = (ration'*x)/(ratiod'*x); 0012 0013 return;