I have the following simulink model:
Where T = 1e-3
But the output of the sequence is not what i was expecting. I thought this would give me a triangle wave, amplitude = 10, 1ms period, 0 offset. but instead i get this:
Im not understanding where these intermadiate values are coming from. The first cycle seems to be correct but all other cycles are incorrect