- Create a New 'm' file (e.g main.m)
- Define f(x),X0 in main file
- Now call the function steep from your main file (main.m and function file should be in the same directory)
How can i run the given code on my example
조회 수: 1 (최근 30일)
이전 댓글 표시
Can anybody tell me how i can run the following MATLAB CODE that is given in link
- http://www.siam.org/books/kelley/fr18/OPT_CODE/steep.mSuppose my function is
- f(x1,x2)=(1/2)*x1^2+(9/2)*x2^2;
X0=[0.1;0.2];
댓글 수: 0
답변 (1개)
Stalin Samuel
2016년 2월 11일
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!