You can do it with ncx2inv
(Statistics Toolbox):
p = 0.02; %// probability (i.e. quantile)
df = 2; %// degrees of freedom
n = 0; %// non-centrality parameter. Set to 0 to generate the provided table
result = ncx2inv(1-p, df, n);
In this example the result is 7.824
, in accordance with the provided table.