could anyone help me to solve the issue.

조회 수: 2 (최근 30일)
jaah navi
jaah navi 2019년 9월 12일
댓글: Walter Roberson 2019년 9월 12일
code:
position =[1 2;
1 3;
2 4;
3 4]
NN= num2cell(position,2)
DDD=partitions(4)
DDD(~ismembertol(DDD,NN))=0
I want to execute the code.when i tried i am getting error stating Error using ismembertol ,Input must be a real full matrix of type single or
double.
I can see that NN gives the result in double and DDD gives the result in cell.could anyone help me what should be done inorder to execute the code .
  댓글 수: 1
Walter Roberson
Walter Roberson 2019년 9월 12일
I refer you back to my previous advice to write plain looping code and get it working correctly, before worrying about being fancy.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by