Search and replace data

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!

Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 5 Nov. 2022

Kommentiert:

am 5 Nov. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by