# I want to optimize two variables

2 views (last 30 days)
MEKDES KASSA on 2 Jun 2022
Answered: M Mirrashid on 5 Jun 2022
I end up on equation as shown below.
[Ku]*[u]+[Kp]*[p]=[C]*B.^2*Ui
B is bounded and Ui is known.
I want to find maximum of u and p combination by varing B.
how can i do that? can i have a plot also?
Torsten on 2 Jun 2022
p get a priority .....but u shouldn't be low too
Too vague for an optimization.

Sam Chak on 2 Jun 2022
Since u and p are the variables, geometrically, this equation is a plane (flat surface)
By varying B, the plane moves can up and down in the z-axis direction in the 3D space.
I'm visualizing, do you think there are maxima if u and p are unconstrained?
##### 2 CommentsShowHide 1 older comment
MEKDES KASSA on 2 Jun 2022
they are matrixes and u is between 0 and 200. p rely on u.

M Mirrashid on 5 Jun 2022

### Categories

Find more on Nonlinear Optimization in Help Center and File Exchange

R2018a

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by