Community Profile

photo

Angel Ani


Last seen: 7 months ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Maximize objective function using fmincon with a limit
Please help me with the error in the code; to get the "profit". Maximize P: (U*y1 - P*y1) + (P*y2 - V*y2) where 0.4 <= P <= 0....

7 months ago | 1 answer | 1

1

answer

Question


How to repeat previous steps from the output
x=1 for a=[5 6 7 8] %solved optimization problem to get "x" end Now, the new "x" is not 1, but the optimal value and...

7 months ago | 1 answer | 0

1

answer

Question


How to write loops within loops for a function.
if true Given, Ans1 = 0; Vs = 8: 0.1: 7; % = I want Vs as 8, 7.9, 7.8,...,7.0 For Vs=Vs-1. %(from 8 to 7) ...

8 months ago | 1 answer | 0

1

answer