photo

John Marvin Miniano


Last seen: 2 years ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


I do some revisions to my equation but I still got no answer. It says that there is no enough input argument. Can someone please help me?
function f=rle(x) f(1)=x(2)+x(3)+x(5)+x(7)-2758.6474; f(2)=2*x(1) + 2*x(4) + 4*x(5)-5684.5402; f(3)=x(2) +2*x(3)+x(4)-4292.15...

2 years ago | 1 answer | 0

1

answer

Question


The fsolve function fails to give me an answer for seven unknowns. What should I do?
x0=[1;1;1;1;1;1;1]; x=fsolve(@nle,x0) function f=nle(x) f(1)= x(2)+x(3)+x(5)+x(7)+1587.8938-2800; f(2)= 2*x(1) + 2*x...

2 years ago | 2 answers | 0

2

answers