Feeds
提问
Given a matrix A = [2 5 7; 4 1 8], write a for loop that will replace all the even numbers with 0.
I'm looking for something using a for loop (probably nested) and possibly mod(A,2) to determine the even numbers What I tried...
8 years 前 | 2 个回答 | 0