Why my sine wave block in matlab simulink is not giving desired result??

1 visualización (últimos 30 días)
MOHD AQUIB
MOHD AQUIB el 9 de Nov. de 2016
Comentada: Mostafa el 9 de Nov. de 2016
When I am trying to get an output from sine wave with amplitude 220v and frequency 2*pi*50, the scope is showing undesirable signal. Is this something related to setting or I am missing a point?
  1 comentario
Mostafa
Mostafa el 9 de Nov. de 2016
Try using a fixed-step solver.
Open model Configuration Parameters (Ctrl+e)
solver options -> Type: "Fixed-step" instead of "Variable-step"
Additional options -> Fixed-step size: 1e-3
Simulate and check results.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Prepare Model Inputs and Outputs en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by