필터 지우기
필터 지우기

How to maximise a variable by putting bounds for an user defined function ?

조회 수: 1 (최근 30일)
Kiran Kumar Asokan
Kiran Kumar Asokan 2019년 10월 25일
답변: Roshni Garnayak 2019년 11월 6일
I am curretnly working on a code where l_side will have bounds between 0 and 4. We have to maximise the variable 'del_v' by iterating through different values of u varying from 0 to 1 in steps of 0.01 and a particular v = v(i). r is an user defined function which gives a 1x3 vector. Please help me with the correct optimisation code to use. Since i dont have much exposure to optimisation i request you to help me out with the syntax.
l_side = Norm(r(u,v(i)+del_v) - r(u,v(i)))

답변 (1개)

Roshni Garnayak
Roshni Garnayak 2019년 11월 6일
Refer to the Optimization Toolbox User’s Guide for details about formulating an optimization problem in MATLAB:

카테고리

Help CenterFile Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by