Search and replace data

12 次查看(过去 30 天)
Kendal
Kendal 2022-11-5
评论: Chris 2022-11-5
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 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by