photo

hayim


Brandeis University

Last seen: ungefär 4 år 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 ...

mer än 10 år ago | 0