Please read this thread.
Search and replace data
1 次查看(过去 30 天)
显示 更早的评论
Good Day, For an assignment:
I have a matrix: R55 = [2,4,6,9,11;7,8,9,10,6;1,2,6,4,5;,6,9,8,5,6;1,6,5,7,5]. I need to search through matrix R55 to find the specific element of: SE = 6, and indicate where these elements are located using 1) For loops and if statements 2) Logical matrices 3) The find function.
Thanks in advance!
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!