2016-01-03 · 知道合伙人教育行家
关注
展开全部
计算偏导,然后取零值,可以通过二阶导来判断极值性质。% 比如y=a*x1^2+b*x2^2 谢谢 % By lyqmath
clc; clear all; close all;
syms a b x1 x2
y = a*x1^2 + b*x2^2;
dy1 = diff(y, x1);
dy2 = diff(y, x2);
xt1 = solve(dy1, x1)
xt2 = solve(dy1, x2)
clc; clear all; close all;
syms a b x1 x2
y = a*x1^2 + b*x2^2;
dy1 = diff(y, x1);
dy2 = diff(y, x2);
xt1 = solve(dy1, x1)
xt2 = solve(dy1, x2)
2013-06-23
展开全部
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2013-06-23
展开全部
计算偏导,然后取零值,可以通过二阶导来判断极值性质。% matlab里面怎样求二元符号函数的极小值?
% 比如y=a*x1^2+b*x2^2 谢谢 % By lyqmath
clc; clear all; close all;
syms a b x1 x2
y = a*x1^2 + b*x2^2;
dy1 = diff(y, x1);
dy2 = diff(y, x2);
xt1 = solve(dy1, x1)
xt2 = solve(dy1, x2)
% 比如y=a*x1^2+b*x2^2 谢谢 % By lyqmath
clc; clear all; close all;
syms a b x1 x2
y = a*x1^2 + b*x2^2;
dy1 = diff(y, x1);
dy2 = diff(y, x2);
xt1 = solve(dy1, x1)
xt2 = solve(dy1, x2)
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询