GitHub-GM-ELM-code Run Test_SDOF.m and see how it works. Note that the code uses analytical PDF solution to generate response samples. For more general problems one needs to change that part accordingly.