View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Random Signal generation

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 12 Downloads (last 30 days) File Size: 6.92 KB File ID: #44168 Version: 1.0
image thumbnail

Random Signal generation



A compilation of random signal generation scripts that can be used for Testing various algorithms

| Watch this File

File Information

Random testing has a great advantage as the input signals are Random ! and hence there is no effort required to develop test cases. Especially in the Model based testing frame work where there is a requirement model (a Simulink model) which is a reference and an operation code (C code or any other implementation). The same random signals can be injected into both the Model and the code and any failures can be debugged. One can test with any number of random signals until finding an error or gaining confidence on their model and code.
An example for random testing of Persistence algorithm can be found in:

This submission contains several functions to generate random Boolean signals, Sine waves, Sine Sweeps and completely random waveform combinations. There are also Noise injection scripts that insert random noise signals and random regions of the input signal.

See file Sample1.m in submission for examples of usage of the functions.


Safety Critical Control Elements Examples inspired this file.

Required Products Simulink
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us