![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/16354980_1569377462854_DEF.jpg)
Maxim Baurov
Followers: 0 Following: 0
Feeds
提问
Why do I get Index exceeds the number of array elements (1).
Hello, this is my function fun = @(x)100*(x(2)-x(1)^2)^2 + (1-x(1))^2; x0 = 0.5; A = [1;2]; b = [1;2]; [x,fval] = fminc...
4 years 前 | 1 个回答 | 0