How to access GriddedLPVSS data at different scheduling parameters?
Afficher commentaires plus anciens
I have built a 2*2 GriddedLPVSS model in Matlab using the following:
s = struct( ...
'Pgrid', [150, 150, 150, -150, -150, -150], ...
'Qgrid', [75, 0, -75, 75, 0, -75] );
SSArray.SamplingGrid = s;
sys = ssInterpolant(SSArray)
SSArray is a 4-D ss model. I want to access the state space model at a certain combination of scheduling parameters like (Pgrid:25,Qgrid:35) for example. How can I do that? I have attached the SSArray.mat.
Réponses (1)
Hi Ali,
SSArray = rss(36,2,2,6); % random 2x2x6 ss array
s = struct( ...
'Pgrid', [150, 150, 150, -150, -150, -150], ...
'Qgrid', [75, 0, -75, 75, 0, -75] );
SSArray.SamplingGrid = s;
sys = ssInterpolant(SSArray); % LPV system
psys = psample(sys,[],25,35); % sys sampled at (Pgrid:25,Qgrid:35)
To verify, you can check the sampling grid parameter of the returned system.
psys.SamplingGrid
Catégories
En savoir plus sur LPV and LTV Models dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!