Plotting a signal with XY Graph (Simulink)

7 views (last 30 days)
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!

Answers (1)

Jonas
Jonas on 6 Apr 2021
Send a Sinewave signal through a Relay block and plot the two signals using a XY Scope block.
  1 Comment
Gulfer Ozcetin
Gulfer Ozcetin on 6 Apr 2021
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!

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!