fminuncの変数の変化の経過について

2 views (last 30 days)
Tsuyoshi Yasuda
Tsuyoshi Yasuda on 29 Jan 2018
Commented: Tsuyoshi Yasuda on 8 Feb 2018
fminuncの変数の変化の経過を配列として出力したいのですが,どうすればよいでしょうか?

Accepted Answer

Hiroumi Mita
Hiroumi Mita on 31 Jan 2018
fminuncのマニュアルにある例を使ってみました。
暫定的な案ですが、
目的関数 fun にグローバル変数として 変数を逐次代入する配列を用意し、
関数外で参照する手があります。 詳細は添付をご覧ください。
  1 Comment
Tsuyoshi Yasuda
Tsuyoshi Yasuda on 8 Feb 2018
回答ありがとうございます

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!