Random Telegraph Signal in Simulink

4 vues (au cours des 30 derniers jours)
Anna
Anna le 20 Fév 2025
Commenté : Anna le 28 Fév 2025
I need a Random Telegraph Signal in a Simulink model. Both sampling time and stop time of simulation must be variables that can be changed for different simulations. Are there blocks in Simulink that implement it?

Réponse acceptée

Aabha
Aabha le 24 Fév 2025
Hi,
Simulink does not have a direct block that generates a random telegraph signal. Please refer to the following file exchange link for a model generating a random telegraph signal:
The above link has two files, titled “RTS_prep.m”, and “RTS.mdl”.
  1. Initially, execute the file RTS_Prep.m, which generates a triggering array to be used in the Simulink model.
  2. The model file, RTS.mdl” can be executed to generate a random telegraph signal.
The parameters specified in “RTS_prep.m” can be adjusted to alter the sample time and simulation stop time values.
I hope this is helpful to you.
  1 commentaire
Anna
Anna le 28 Fév 2025
Thank you for your help!
Anna

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by