필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I implement this easily?

조회 수: 1 (최근 30일)
Mira le
Mira le 2019년 12월 16일
마감: MATLAB Answer Bot 2021년 8월 20일
While (W is not empty)
Select S ∈ F \ C that maximize | S ∩ W|
C <-- C ∪ {S}
W <-- W \ {S}
end
retrun C
How do i implement this , we know that W and S are cell array.
like that
W= {[1 2], [1 3],[1 4], [2 3] , [2 4],[3 5]}
S=5×3 cell array
[1×2 double] [1×2 double] [1×2 double]
[1×2 double] [1×2 double] [1×2 double]
[1×2 double] [1×2 double] [1×2 double]
[1×2 double] [1×2 double] []
[1×2 double] [] []

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by