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 (최근 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에서 Operators and Elementary Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by