Could you help me please??
Show older comments
Suppose I have a function
f=inline('x^3+2');
x1=2; x2=-2; x3=4;
Fmin=min(f(x1),f(x2),f(x3))
Now I want to find the value of x (i.e x1 or x2 or x3) corresponding to Fmin Xmin=value of x corresponding to Fmin How to do this??
Accepted Answer
More Answers (0)
Categories
Find more on Function Creation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!