diff options
Diffstat (limited to 'sourcecodes/bnt-master/SLP/learning/mk_naive_struct.m')
| -rw-r--r-- | sourcecodes/bnt-master/SLP/learning/mk_naive_struct.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sourcecodes/bnt-master/SLP/learning/mk_naive_struct.m b/sourcecodes/bnt-master/SLP/learning/mk_naive_struct.m new file mode 100644 index 00000000..33e6b7d7 --- /dev/null +++ b/sourcecodes/bnt-master/SLP/learning/mk_naive_struct.m @@ -0,0 +1,6 @@ +function S = mk_naive_struct(n,C) +% +% S = mk_naive_struct(Number_of_nodes, Class_node) +% +S = zeros(n); +S(C,setdiff(1:n,C)) = 1; \ No newline at end of file |
