| Mu Analysis and Synthesis Toolbox | ![]() |
Syntax
Description
minfo returns information about the data type, and size of the matin. With no output assignment, minfo returns text output to the screen. The information is determined from the data structure as defined in the "The Data Structures" section in Chapter 2.
With output arguments, minfo returns four arguments. The first argument, systype, is a string variable that can take one of four values. The interpretation of the three additional output arguments is based on the variable systype.
Examples
minfo identifies the type of matrix being manipulated. Compare the displays for a CONSTANT, SYSTEM, and VARYING matrix.
a =rand(2,2);b =rand(2,3);c =rand(1,2);minfo(a) constant: 2 rows 2 colssys=pck(a,b,c);minfo(sys) system: 2 states 1 outputs3 inputssys_g=frsp(sys,[.1 .5 .9 1.4]);minfo(sysg) varying: 4pts1 rows 3 cols 4ptsbetween 0.1 and 0.4sys=sysrand(2,3,1); [mtype,mrows,mcols,mnum] =minfo(sys); mtype mtype = syst [mrows,mcols,mnum] ans = 1 3 2
See Also
pck, pss2sys, sys2pss, unpck, vpck, vunpck
![]() | mfilter | minv, vinv | ![]() |