applying iterative solutions with Fsolve in multiple variables equations.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Will john
am 23 Mai 2022
Beantwortet: Torsten
am 23 Mai 2022
hello; have variables in these equations. they are x z and k. And I am trying to solve it with iterative process but I can't find the result for 3 variables. can you help me. where am I doing wrong?
0 Kommentare
Akzeptierte Antwort
Torsten
am 23 Mai 2022
f = @(x,y,k) [busdata(2,2)-...;
busdata(3,2)-...;
busdata(3,3)-...];
F = @(p)f(p(1),p(2),p(3));
p0 = [0;0;0];
options = optimoptions('fsolve','Display','iter');
[p,fval] = fsolve(F,p0,options)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Mathematics and Optimization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!