You want the quantile function, i.e. the inverse cdf. You can do this in matlab with norminv(.99,mu,sigma) and logninv(.99,mu,sigma) where mu and sigma are your fit parameters for the respective cases. Take care to read the documentation to make sure the parameterizations are the same between your fit functions and the inverse cdfs. It certainly will be for the normal but I'm not positive for the lognormal.