Skip to content

Commit

Permalink
Corrected bug inside ind2sub
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoRianiUNIPR committed Oct 17, 2024
1 parent cd94681 commit 03d0a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolbox/examples/examples_multivariate.m
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@

aco=triu(ones(v,v));
ind = find(abs(aco)>0);
[I,J]=ind2sub(v,ind);
[I,J]=ind2sub([v, 1],ind);
lab=cellstr([num2str(I) num2str(J)]);
text(S2cov(end,1)*ones(v1,1),S2cov(end,2:end)',lab)

Expand Down

0 comments on commit 03d0a62

Please sign in to comment.