I am receiving an error that tells me (Undefined function or variable 'mpc_predmat'. Error in "file mane" (line 26) [H,P,Q] = mpc_predmat(A,B,ny);)
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
anyone can help please: I using malab version R17
A=[];B=[]; A(1,1:3:12) = poly([.5,.8,-.2]); A(2,2:3:12) = poly([-.2,.9,.5]); A(3,3:3:12) = poly([-.1,.4,.6]); A(1,5:3:12) = [ -.2 .1 .02]; A(2,4:3:12) = [ .4 0 -.1]; A(3,4:3:12) = [0 .2 .2]; A(2,6:3:12) = [-1 .1 .3]; A(:,4:12) = A(:,4:12)*.8;
B = [.5 0.2 -.5 1 2 1;2 0 .3 -.8 .6 .5;0 .9 -.4 1 .3 .5]; sizey=3; ny=9; nu=4; lambda=0.2;
%%%% Generates a square H matrix for now [H,P,Q] = mpc_predmat(A,B,ny);
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Operators and Elementary Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!