Trapezoid
Diagram Context
if isnumeric(nperiod) if nperiod<0 nperiod=Inf; end else error('The block parameter nperiod (Number of periods) cannot be an exposable parameter.') end z=[0,rising,rising+width,rising+width+falling,period]; if isnumeric(z) && ~TestIncreaseMonotonically(z) error('Incorrect block parameters.') end