Search and replace data

12 vues (au cours des 30 derniers jours)
Kendal
Kendal le 5 Nov 2022
Commenté : Chris le 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!
  1 commentaire
Chris
Chris le 5 Nov 2022
Please read this thread.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by