Scope showing the wrong graph

6 visualizaciones (últimos 30 días)
Muhammad Hafidz Hasnor Faiz
Muhammad Hafidz Hasnor Faiz el 29 de Dic. de 2021
Respondida: Vinay el 19 de Nov. de 2024
The scope is showing different data with my friends. A weird slanted line is shown.
the data at the displays are the same but only the scope is diffferent. the scope should be like down below

Respuestas (1)

Vinay
Vinay el 19 de Nov. de 2024
The display block is giving the correct output ensures the correct functionality of the circuit.The problem is occuring in the scope block due to different sampling time of the scope block. The larger sampling time of the scope block can distort the graph.I have simulated for 3 different sampling times(Ts)
Case-1 : Ts = -1
Case-2 : Ts = 5
Case-3 : Ts = 15
The larger value of Ts in Case-3 shows the slanted graph and can be resolved by using the default value of sampling time(Ts = -1)
Kindly refer to the below documentation of “Scope Sample time” for more details:

Categorías

Más información sobre Wavelet Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by