Plot two arrays as x and y and select the maximum point

조회 수: 18 (최근 30일)
luca
luca 2019년 10월 8일
댓글: luca 2019년 10월 8일
Hi given 2 arrays
V = [310 285 334 302 306 312 316 304 305 291 310];
M= [273.381 245.231 203.334 212.814 239.183 276.148 231.269 291.846 258.205 276.486 236.715];
I want to plot the value of V in x and value of M in y, for each column. So I want to obtain a black point for each column.
For example the point one should has x=310 and as y=273.381 and so on
Then once I've the plot, I would like to select the point who maximize both,and give also as output the value of the column that maximize it. I would like to have a function that do it graphically.
May someone help me with the code?

채택된 답변

the cyclist
the cyclist 2019년 10월 8일
The first thing is trivial ...
plot(V,M,'.')
I don't understand what you mean by "maximize both" or "do it graphically".
  댓글 수: 2
luca
luca 2019년 10월 8일
I was searching for a pareto optimal solution and I ve found a good function on internet. Thanks for the first part

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multiobjective Optimization에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by