could anyone help me to solve the issue.

2 Ansichten (letzte 30 Tage)
jaah navi
jaah navi am 12 Sep. 2019
Kommentiert: Walter Roberson am 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 Kommentar
Walter Roberson
Walter Roberson am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by