Solving system of dynamic functions
显示 更早的评论
Hello all,
I've got 'n' dynamic functions with 'n' different parameters, stored in a vector, as can be seen here:
n = 3;
fun1 = @(x) 0;
fun2 = @(x) 0;
fun3 = @(x) 0;
for i = 1:n
fun1 = @(x) fun1(x) + x(i);
fun2 = @(x) fun2(x) + i*x(i);
fun3 = @(x) fun3(x) + x(i) + i;
end
Is it possible to solve the equations for x? I've tried multiple things, but neither of them worked, and my Matlab skills are still limited. :)
6 个评论
darova
2019-11-29
Can't see functions. Where are they?
Dick Heijboer
2019-11-29
darova
2019-11-29
What is x(i)? Is it a value?
Dick Heijboer
2019-11-29
darova
2019-11-29
Can you write the equations? Not in the code
Something like
Dick Heijboer
2019-11-29
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!