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);)

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by