MATLAB Answers

Beginning matlab user error, functions

조회 수: 1(최근 30일)
Evan Parker
Evan Parker 19 Oct 2020
답변: madhan ravi 19 Oct 2020
I am taking a beginning course in MATLAB programming. My textbook was written by a professor using MATLAB 2009b. Perhaps that is irrelevant, but I want to know why I am getting errors trying to inititate functions. The following function code is written as a solution in my textbook.
This might be a novice question, please forgive me.

  댓글 수: 0

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

채택된 답변

madhan ravi
madhan ravi 19 Oct 2020
Take that fminsearch() outside of the function
doc function % see how to use functions

  댓글 수: 0

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

추가 답변(0개)




Community Treasure Hunt

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

Start Hunting!

Translated by