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

0 Stimmen

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)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2024a

Gefragt:

am 20 Feb. 2025

Kommentiert:

am 28 Feb. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by