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!