フィルターのクリア

Variable q8L, q8y, q8x,q8f must be of siize [6,1] it is currently of size [8,1]

2 ビュー (過去 30 日間)
lateef
lateef 2024 年 3 月 14 日
コメント済み: Torsten 2024 年 3 月 14 日
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])
firstpart = 
[q8L,q8x,q8y]=solve([firstpart,g])
q8L = 
q8x = 
q8y = 
q8f=subs(f(x,y),{x,y},{q8x,q8y})
q8f = 
  5 件のコメント
lateef
lateef 2024 年 3 月 14 日
if anyone can let me know how to fix this eror im getting id appreciate it thank you
Torsten
Torsten 2024 年 3 月 14 日
f(x,y)=x*y^2;
instead of
f(x,y)=(x*y)^2;
?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by