MATLAB: Sine wave error in simulink

scopesimulinksinesine wavewave

Hi,
I make a simple model in simulink. I use two blocks: sine wave and scope The configuration of sine wave block is
The signal i obtain in scope is:
What i'm doing wrong? where is the problem? Thanks NĂ©stor

Best Answer

This is because you haven't mentioned the step size. For detailed explanation you can follow this link- sine