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 CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by