The MATALB program design of 50hz trap