How to get values that make funtion max
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I m quite new using Matlab, my question is as follows.
Let say a*b = 50, how can I get the values of a and b? a and b are a list of values. Thanks.
1 Comment
Fangjun Jiang
on 18 Oct 2011
Don't post duplicated questions. If you didn't get an answer, chances are that your question is not clear, like this one.
Answers (2)
Andrei Bobrov
on 18 Oct 2011
a1 = rand(1,10)
b = rand(10,1)
a = a1/(a1*b)*50
ablst = [a' b]
a*b
Walter Roberson
on 18 Oct 2011
0 votes
There are somewhere on the order of 2^62 different (a,b) pairs that satisfy this function, I estimate.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!