How to implement the pseudocode in matlab?

1 回表示 (過去 30 日間)
Mira le
Mira le 2019 年 12 月 10 日
コメント済み: Mira le 2019 年 12 月 10 日
  • C is empty
Output: victitem <- , victim item to be deleted
  • W =U
While (w is not empty)
Select S <-- F \ C that maximize | S W|
  • C <-- C \ {S}
  • F<-- F \ {S}
victitem <- victitem F.senitem
  • W<-- W \ F
End while
  4 件のコメント
Rik
Rik 2019 年 12 月 10 日
I suspect that will be a more efficient way to learn how to use Matlab than posting several questions to this forum. If you start with the basics, the more complicated things will become easier to solve as well (and you might learn methods that scale better).
Mira le
Mira le 2019 年 12 月 10 日
Thanks

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

タグ

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by