photo

hayim


Brandeis University

Last seen: 4 years 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 ...

10 years ago | 0