Feeds
답변 있음
convert a double array to something like logical
Late to the party, but how about this? A = [1 5 7 4]'; S = bsxfun(@eq,A,1:7) ans = 1 0 0 0 0 ...
convert a double array to something like logical
Late to the party, but how about this? A = [1 5 7 4]'; S = bsxfun(@eq,A,1:7) ans = 1 0 0 0 0 ...
10년 초과 전 | 0