post ftcs.m code for in-class demo