Random Telegraph Signal in Simulink

4 Ansichten (letzte 30 Tage)
Anna
Anna am 20 Feb. 2025
Kommentiert: Anna am 28 Feb. 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?

Akzeptierte Antwort

Aabha
Aabha am 24 Feb. 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.

Weitere Antworten (0)

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by