MATLAB CONTROL SYSTEM TOOLBOX 9 Spécifications Page 135

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 591
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 134
Indexing Into LTI Arrays
5-23
Notice that you don’t have to use the array dimensions with this assignment.
This is because I/O selection applies to all models in the array when the array
indices are omitted.
Similarly, the commands
sys(:,:,3,2) = sys(:,:,4,1);
sys(1,2,3,2) = 0;
reassign theentire model in the (3,2) position ofthe LTI array sys and the (1,2)
subsystem of this model, respectively.
Deleting Parts of an LTI Array
You can use indexing to delete any part of an LTI array by reassigning it to be
empty (
[]). For instance,
sys = rss(4,3,2,5,2);
sys(1,:) = [];
size(sys)
5x2 array of continuous-time state-space models
Each model has 2 outputs, 2 inputs, and 4 states.
deletes the first output channel from every model of this LTI array.
Similarly,
sys(:,:,[3 4],:) = []
deletes the third and fourth rows of this two-dimensional array of models.
Vue de la page 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 590 591

Commentaires sur ces manuels

Pas de commentaire