Function with symbolic terms
Show older comments
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));
Answers (0)
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!