Matlab non linear optimization - how to use a dataset in the optimization

1 回表示 (過去 30 日間)
Hey guys
I am very new to Matlab so I am struggling a little bit, any help would be appreciated. I am trying to write a non linear optimization program using fmincon. I want Matlab to read through a data set and compare those values to the constraints. (It is the size of an electrical generator based on electric and heat demand over a one month period).
Does anyone have any idea how to start this off?
thanks
Does anyone have any idea how to start this off? My whole optimization (and constraints) are based on this data set.
thanks
  1 件のコメント
Andrew Newell
Andrew Newell 2011 年 5 月 8 日
What form is your dataset in? Have you already read it from a file?

サインインしてコメントする。

採用された回答

Andrew Alkiviades
Andrew Alkiviades 2011 年 5 月 8 日
Hi Andrew
Its an excel spreadsheet I have imported it - importdata(filename)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Optimization Toolbox についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by