MATLAB CONTROL SYSTEM TOOLBOX 9 Specifikace Strana 376

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 591
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 375
chgunits
16-36
16chgunits
Purpose Convert the frequency units of an FRD model
Syntax sys = chgunits(sys,units)
Description sys = chgunits(sys,units) converts the units of the frequency points stored
in an FRD model,
sys to units,whereunits is either of the strings 'Hz' or
'rad/s'. This operation changes the assigned frequencies by applying the
appropriate (
2*pi) scaling factor, and the 'Units' property is updated.
If the
'Units' field already matches units, no conversion is made.
Example w = logspace(1,2,2);
sys = rss(3,1,1);
sys = frd(sys,w)
From input 'input 1' to:
Frequency(rad/s) output 1
---------------- --------
10 0.293773+0.001033i
100 0.294404+0.000109i
Continuous-time frequency response data.
sys = chgunits(sys,'Hz')
sys.freq
ans =
1.5915
15.9155
See Also frd Create or convert to an FRD model
get Get the properties of an LTI model
set Set the properties of an LTI model
Zobrazit stránku 375
1 2 ... 371 372 373 374 375 376 377 378 379 380 381 ... 590 591

Komentáře k této Příručce

Žádné komentáře