MATLAB CONTROL SYSTEM TOOLBOX 9 Dokumentacja Strona 430

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 591
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 429
get
16-90
16get
Purpose Access/query LTI property values
Syntax Value = get(sys,'PropertyName')
get(sys)
Struct = get(sys)
Description Value = get(sys,'PropertyName') returns the current value of the property
PropertyName oftheLTImodel sys. The string 'PropertyName' canbe the full
propertyname(forexample,
'UserData') oranyunambiguouscase-insensitive
abbreviation (for example,
'user'). You can specify any generic LTI property,
or any property specific to the model
sys (see “LTI Properties” for details on
generic and model-specific LTI properties).
Struct = get(sys) converts the TF, SS, or ZPK object sys into a standard
MATLAB structure with the property names as field names and the property
values as field values.
Without left-hand argument,
get(sys)
displays all properties of sys and their values.
Example Consider the discrete-time SISO transfer function defined by
h = tf(1,[1 2],0.1,'inputname','voltage','user','hello')
You can display all LTI properties of h with
get(h)
num = {[0 1]}
den = {[1 2]}
Variable = 'z'
Ts = 0.1
InputDelay = 0
OutputDelay = 0
ioDelay = 0
InputName = {'voltage'}
OutputName = {''}
InputGroup = {0x2 cell}
OutputGroup = {0x2 cell}
Przeglądanie stron 429
1 2 ... 425 426 427 428 429 430 431 432 433 434 435 ... 590 591

Komentarze do niniejszej Instrukcji

Brak uwag