Function with symbolic terms
Mostrar comentarios más antiguos
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));
Respuestas (0)
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!