Neighbors of a matrix
2 次查看(过去 30 天)
显示 更早的评论
I want a way to write a code to find the neigbors of a 50 x 50 matrix
3 个评论
Walter Roberson
2024-2-1
Please expand on your question more. What form are you expecting the neighbors in ?
the cyclist
2024-2-1
Suppose we use a smaller example, to understand your question. Here is a 5x5 matrix:
M = magic(5)
What do you mean by "the neighbors"? What exactly would the input and output be for your problem?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!