Function with symbolic terms
显示 更早的评论
I need that this function gives me back another function dependent on alph:
function [f_alpha] = valor_funcao2(func,d,x)
syms f(x1,x2)
f(x1,x2) = str2sym(func);
alph = zeros(1,2,'sym');
x(end,:) = x(end-1,:) - grad.*alph;
syms f_alpha
f_alpha = func(alph(1),alph(2));
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!