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

1 次查看(过去 30 天)
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 个评论
Mostafa
Mostafa 2016-11-9
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by