could anyone help me to solve the issue.

2 次查看(过去 30 天)
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