this is sampling circuit (using matlab) but it give uncorrect result i want output to be (pam-flattop) can someone help me