| Contents | Index |
generatetbstimulus(Hd)
generatetbstimulus(Hd, 'PropertyName',
'PropertyValue'...)
x = generatetbstimulus(Hd, 'PropertyName',
'PropertyValue'...)
generatetbstimulus(Hd) generates and returns filter input stimulus for the filter Hd, where Hd is a handle to a filter object. The stimulus is generated based on the setting of the properties TestBenchStimulus and TestBenchUserStimulus.
The generated test bench applies this input stimuli, and the coder assigns the default stimuli based on the filter type. The following choices of stimuli are available:
'impulse'
'step'
'ramp'
'chirp'
'noise'
Note The function quantizes the results by applying the reference coefficients of the specified quantized filter. |
generatetbstimulus(Hd, 'PropertyName', 'PropertyValue'...) generates and returns filter input stimuli for the filter Hd. This value is based on specified settings for TestBenchStimulus and TestBenchUserStimulus.
x = generatetbstimulus(Hd, 'PropertyName', 'PropertyValue'...) generates and returns filter input stimuli for the filter Hd based on specified settings for TestBenchStimulus and TestBenchUserStimulus and writes the output to x for future use or reference.
Generate and return test bench stimuli. The call to generatetbstimulus in the following command line sequence generates ramp and chirp stimuli and returns the results to y.
Apply a quantized filter to the data and plot the results. The call to the filter function applies the quantized filter Hd to the data that was returned to y and gains access to state and filtering information. The plot function then plots the resulting data.
y = generatetbstimulus(Hd, 'TestBenchStimulus', {'ramp', 'chirp'});
%Generate and return test bench stimuli
plot(filter(Hd,y)); %Apply a quantized filter to the
data and plot the results

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |