I'm trying to simulate stochastic remaining lifetime with varying survival probabilities which decrease as age increases.(from a life table). Anyone able to help me with sample of such coding?
You could in fact draw stochastic paths of the death records of the individuals, you have just to simulate the deaths keeping in minds that these are random variables with Poisson distribution and the intensity is given by the deterministic table you mentioned (you should first transform it to cohort table!). In such a case you are just modeling the "sampling risk" and not mortality nor longevity risks.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.