How can i run the given code on my example

1 view (last 30 days)
zahid
zahid on 11 Feb 2016
Answered: Stalin Samuel on 11 Feb 2016
Can anybody tell me how i can run the following MATLAB CODE that is given in link
X0=[0.1;0.2];

Answers (1)

Stalin Samuel
Stalin Samuel on 11 Feb 2016
  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)

Categories

Find more on File Operations in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!