ufrd
Uncertain frequency response data model
Syntax
ufrd_sys = ufrd(M,freqs)
ufrd_sys = ufrd(M,freqs,frequnits)
ufrd_sys = ufrd(M,freqs,frequnits,timeunits)
Description
Uncertain frequency response data models (ufrd
) arise when combining
numeric frd
models with uncertain models such
as ureal
, ultidyn
, umargin
, or
uss
. A ufrd
model
keeps track of how the uncertain elements affect the frequency response. Use
ufrd
for robust stability and worst-case performance analysis.
There are three ways to construct a ufrd
model:
Combine numeric
frd
models with uncertain models using model arithmetic. For example:sys = frd(rand(100,1),logspace(-2,2,100)); k = ureal('k',1); D = ultidyn('Delta',[1 1]); ufrd_sys = k*sys*(1+0.1*D)
ufrd_sys
is aufrd
model with uncertain elementsk
andD
.ufrd_sys = ufrd(M,freqs)
converts the dynamic system model or static modelM
toufrd
. IfM
contains Control Design Blocks that do not represent uncertainty, these blocks are replaced by their current value. (To preserve both tunable and uncertain Control Design Blocks, usegenfrd
instead.)Use
ufrd_sys = ufrd(M,freqs,frequnits)
to specify the frequency units of the frequencies infreqs
. The argumentfrequnits
can take the following values:'rad/TimeUnit'
'cycles/TimeUnit'
'rad/s'
'Hz'
'kHz'
'MHz'
'GHz'
'rpm'
Use
ufrd_sys = ufrd(M,freqs,frequnits,timeunits)
to specify the time unit ofufrd_sys
whenM
is a static model.timeunits
can take the following values:'nanoseconds'
'microseconds'
'milliseconds'
'seconds'
'minutes'
'hours'
'days'
'weeks'
'months'
'years'
Use
frd
to construct aufrd
model from an uncertain matrix (umat
) representing uncertain frequency response data. For example:a = ureal('delta',1,'percent',50); freq = logspace(-2,2,100); RespData = rand(1,1,100) * a; usys = frd(RespData,freq,0.1)
Examples
Version History
Introduced before R2006a