How do you set entries in a matrix for odd rows with odd columns to zero?
Show older comments
I want to set A(i,j) = 0 if both i and j are odd. Is this possible to do vectorially?
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB 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!