could anyone help me to solve the issue.
2 views (last 30 days)
Show older comments
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
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.
Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!