Input Output Chart - Compute Output Based On Size Of Input Signal Matlab