scope signal with negative value

8 vues (au cours des 30 derniers jours)
shree om bade
shree om bade le 22 Déc 2020
Commenté : shree om bade le 31 Déc 2020
In my simulink model, I set the start time -100 and stop time 50. However, the simulink plots signals staring from 0 to 50 s. How can I edit the scope display so that I can see the whole signals from -100 to 50s.
Thanks in advance

Réponses (1)

Sukrut Tamhankar
Sukrut Tamhankar le 29 Déc 2020
You can use the "xlim" function to set the x-axis limits such as:
xlim([-100 50])
Please refer to the below documentation link for the same:
In case of Simulink model, in order to display time domain signals, you can use Time Scope Block instead of Scope Block. Please refer to the below documentation links for more information:
  1 commentaire
shree om bade
shree om bade le 31 Déc 2020
Thank you Sukrut

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by