필터 지우기
필터 지우기

Example of Partition of set

조회 수: 1 (최근 30일)
rohini more
rohini more 2021년 3월 30일
댓글: rohini more 2021년 4월 6일
Suppose [5]={1,2,3,4,5}
I would like to split the 5 in matlab in the following way 5=h1+h2+h3
where h1=1,h2=3,h3=1 (we can take other choices also)
according to that [5] should be partitioned as follows
.
where H1={1}, H2={2,3,4}, H3={5}
I would to like to implement matlab code for this type of example .
Please help me
Thanks in advance.
  댓글 수: 2
KSSV
KSSV 2021년 3월 30일
Read about mat2cell
rohini more
rohini more 2021년 3월 30일
Okay.Thank you very much.

댓글을 달려면 로그인하십시오.

채택된 답변

Pratheek Punchathody
Pratheek Punchathody 2021년 4월 6일
Set Partition is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum for our product users to interact, exchange information and knowledge, without MathWorks' involvement. Feel free to contact the author of this submission directly for specific questions about the implementation"
  댓글 수: 1
rohini more
rohini more 2021년 4월 6일
Okay .
Thank you very much

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by