How to access GriddedLPVSS data at different scheduling parameters?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
0 Kommentare
Antworten (1)
Andrew Ouellette
am 12 Mai 2025
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
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!