Variable q8L, q8y, q8x,q8f must be of siize [6,1] it is currently of size [8,1]
조회 수: 2 (최근 30일)
이전 댓글 표시
syms x y L
f(x,y)=(x*y)^2;
g(x,y)=x^2+y^2-16;
firstpart=jacobian(f(x,y),[x,y])-L*jacobian(g(x,y),[x,y])
[q8L,q8x,q8y]=solve([firstpart,g])
q8f=subs(f(x,y),{x,y},{q8x,q8y})
댓글 수: 5
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!