Beginning matlab user error, functions

1 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by