- NumSamples is set such that the frequency response estimation includes the lower
end of the frequency range.
Other random options have default values.
'OptionName',OptionValue
Signal characteristics, specified as comma-separated option name and option value pairs.
Option Name Option Value
'Amplitude' Signal amplitude.
Default: 1e-5
'Ts' Sample time of the chirp signal in seconds.
Default: 1e-3
'NumSamples' Number of samples in the Random signal.
Default: 1e4
'Stream' Random number stream you create using the MATLAB command
RandStream. The state of the stream you specify stores with the
input signal. This stored state allows the software to return the
same result every time you use generateTimeseries and
frestimate with the input signal.
Default: Default stream of the MATLAB session
Examples
Create a Random input signal with 1000 samples taken at 100 Hz and amplitude of 0.02:
input = frest.Random('Amplitude',0.02,'Ts',1/100,'NumSamples',1000);
Create a Random input signal using multiplicative lagged Fibonacci generator random
stream:
% Specify the random number stream
stream = RandStream('mlfg6331_64','Seed',0);
% Create the input signal
input = frest.Random('Stream',stream);
frest.Random