Feeds
提问
How to calculate the sum of all neighbouring elements in a random matrix
Hello, i have an "m x n" matrix of 1's and 0's randomly generated by "rand(m,n) < 0.3;" I want to calculate the number of "1" el...
3 years 前 | 1 个回答 | 0
提问
3 years 前 | 1 个回答 | 0