So far I have solved the equation below with fsolve (with the help of this forum).
tau = 0.1f4 = [3; 2; 6; 8]f8 = [2; 6; 7; 3] eq = @(s,f4,f8) s*tau-(0.1.*s^2+3.54.*s-9.53).*f4.^2-f8; for f = 1:1:length (f4) F1 (f,:) = fsolve (@(s)eq(s,f4(f),f8(f)), 0);end
Unfortunately, only a solution of the quadratic equation is given here. I didn't get along with the command roots () because my "formulas" were not accepted here. Does anyone have an idea here how elegantly all solutions can be found?
Best Answer