Clear Filters
Clear Filters

Search and replace data

1 view (last 30 days)
Kendal
Kendal on 5 Nov 2022
Commented: Chris on 5 Nov 2022
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!

Answers (0)

Community Treasure Hunt

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

Start Hunting!