simulink discrete integrator block problem
All of a sudden I realized I made a silly mistake.
$$
\int \cos(\omega\cdot t)dt=\frac{1}{\omega}\sin(\omega\cdot t)
$$
which means the &quot;integrator: Forward Euler&quot; choice produced the correct result.