How can i run the given code on my example

Can anybody tell me how i can run the following MATLAB CODE that is given in link
X0=[0.1;0.2];

回答(1 个)

  1. Create a New 'm' file (e.g main.m)
  2. Define f(x),X0 in main file
  3. Now call the function steep from your main file (main.m and function file should be in the same directory)

类别

帮助中心File Exchange 中查找有关 Software Development 的更多信息

标签

尚未输入任何标签。

提问:

2016-2-11

Community Treasure Hunt

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

Start Hunting!

Translated by