could anyone help me to solve the issue.

3 views (last 30 days)
jaah navi
jaah navi on 12 Sep 2019
Commented: Walter Roberson on 12 Sep 2019
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 Comment
Walter Roberson
Walter Roberson on 12 Sep 2019
I refer you back to my previous advice to write plain looping code and get it working correctly, before worrying about being fancy.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!