Scope in SIMULINK does not display wave correctly

2 views (last 30 days)
i use AC Voltage 12 V. AC voltage should produce Sinewave but i got difference wave. (note: Beginner in MATLAB)

Accepted Answer

Rodney Tan
Rodney Tan on 8 Oct 2016
Hi! Hadi Just change the scope sample time to a faster sample time. For example to set sampling frequency of 15300, you can enter 1/15360 into scope sample time, it will give you 256 samples per cycle for 60 Hz line frequency power system. The determination of sampling frequency is governed by the following equation
Sampling Freq = Line Freq * Sample per cycle
I also include a screen capture for your reference. Please LIKE if this answer your question. Thanks </matlabcentral/answers/uploaded_files/60782/ScopeSampleTime.jpg>
  1 Comment
Hadi Hanif
Hadi Hanif on 8 Oct 2016
Edited: Hadi Hanif on 8 Oct 2016
Hi, i try to open your reference but it give message "The page you were looking for doesn't exist." But thanks to you i solved my problem.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by