MATLAB: Feasible solutions in a function with a given product.

optimization

How do I get Matlab to give me a matrix of possible solutions for ri and L when V is fixed?
Vi=((pi*(ri)^2*L)+((4*pi*(ri)^3)/3));

Best Answer

You can loop through various ri values and read off the resulting L values.
Alan Weiss
MATLAB mathematical toolbox documentation