how to take a row and column of a value and add it to an array
2 次查看(过去 30 天)
显示 更早的评论
I currently have code that stores a bunch of values in an array
I then create a logical array such as B = A < 20
Then i create an array that shows the values in A that are less than 20 C = A(B)
Now my question is, how do I also add row and column numbers to the C array with their corresponding values that are less than 20.
thank you
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!