what are the indices of the middle element of a matrix
8 views (last 30 days)
Show older comments
Weisz Thomas
on 1 Dec 2018
Commented: Walter Roberson
on 3 Dec 2018
Write a function called zero_middlethat takes an n-by-mmatrix
as an input where both nand mare odd numbers (the function does not have
to check the input). The function returns the input matrix with its center
element zeroed out.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Logical 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!