Documentation

TestBenchStimulus

Specify input stimuli that test bench applies to filter

Settings

'impulse'

Specify that the test bench acquire an impulse stimulus response. The impulse response is output arising from the unit impulse input sequence defined such that the value of x(n) is 1 when n equals 1 and x(n) equals 0 when n does not equal 1.

'step'

Specify that the test bench acquire a step stimulus response.

'ramp'

Specify that the test bench acquire a ramp stimulus response, which is a constantly increasing or constantly decreasing signal.

'chirp'

Specify that the test bench acquire a chirp stimulus response, which is a linear swept-frequency cosine signal.

'noise'

Specify that the test bench acquire a white noise stimulus response.

The coder assigns default stimuli based on the filter type.

Usage Notes

You can specify combinations of stimuli in whatever order you wish. If you specify multiple stimuli, specify the corresponding strings in a cell array. For example:

{'impulse', 'ramp', 'noise'}

Was this topic helpful?