What does this code compute?
1 view (last 30 days)
Show older comments
what does this code compute? mask ( inside ) = ones ( size ( inside ) )
0 Comments
Accepted Answer
Titus Edelhofer
on 13 Feb 2015
It set's all entries in mask, where inside is true, to one. I guess
mask(inside) = 1;
should do the same in fact.
Titus
2 Comments
More Answers (0)
See Also
Categories
Find more on Author Block Masks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!