Plotting a signal with XY Graph (Simulink)

Hello, I need to plot exact the same graph as the output coming from a Schmitt Trigger by using only Simulink. No scopes shall be used since it has negative values on X axis, it should be demonstrated by a Simulink XY Graph block by creating appropriate inputs both for X and Y axes (there are no limitations on which signals/blocks you are using while you are creating those inputs, you can use everything inside Simulink but no Matlab script files etc.). I tried many signals, trigonometric blocks and so on but I couldn't obtain the result. The graph should look like this:
I hope someone can help me, at least a clue will be much appreciated!

回答(1 个)

Jonas
Jonas 2021-4-6
Send a Sinewave signal through a Relay block and plot the two signals using a XY Scope block.

1 个评论

Sorry, it was my mistake not to mention that I could not use Relay block. But with examining its operation, I think I can implement a Simulink block diagram for the same purpose. Thanks!

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by