I need the code steps to help me solve this

3 commentaires

What have you done? Should us your code and ask a specific question. Recommend looking at find function.
[row,col]=find(M>=a&M<=b);
John D'Errico
John D'Errico le 19 Mai 2022
@Anna Please stop posting your homework questions. Answers is not a service where we do your homework for you.
N/A
N/A le 19 Mai 2022
I’m sorry its not homework, its extra work I’m doing to make sure if im doing the steps correctly!

Connectez-vous pour commenter.

 Réponse acceptée

Torsten
Torsten le 19 Mai 2022
Modifié(e) : Torsten le 19 Mai 2022

0 votes

A=[16 2 3 13
5 11 10 8
9 7 6 12
4 14 15 1];
I = find(A>3 & A<10);
[row,col] = ind2sub([4 4],I)
Can you take it from here ?

2 commentaires

N/A
N/A le 19 Mai 2022
Thank you! Can you please do the other part too?
John D'Errico
John D'Errico le 19 Mai 2022
No. Torsten should not have done the first party of an obvious homework question. You have now posted several direct homework questions, with no effort made. I will now start closing your further questions, if similar questions are posted with no effort.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by