MPT_RANDLTISYS Generates random LTI systems [sysStructCell]=mpt_randLTISys(maxSys,nx,nu,Options) --------------------------------------------------------------------------- DESCRIPTION --------------------------------------------------------------------------- Generates random LTI systems --------------------------------------------------------------------------- INPUT --------------------------------------------------------------------------- maxSys - Number of systems to be generated nx - number of states of each system; scalar nu - number of inputs of each system; scalar Options .ymin / .ymax - Output constraints for each system (Default: -/+ 10) .umin / .umax - Input constraints for each system (Default: -/+ 1) .dumin / .dumax - Input constraints for each system (Default: -/+ Inf) .enforceStability - Consider stable dynamics only, if set to 1 (Default: 0) .maxVal - Maximum absolute value of elements in dynamic matrices (Default: 2) .justUnstable - If true, only unstable systems will be returned (Default: false) --------------------------------------------------------------------------- OUTPUT --------------------------------------------------------------------------- sysStructCell - cell array of size "maxSys" containing different sysStructs