photo

hayim


Brandeis University

Last seen: meer dan 4 jaar ago Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • First Answer

View badges

Feeds

View by

Answered
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 ...

bijna 11 jaar ago | 0