Help with matrix question

I need the code steps to help me solve this

3 Comments

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);
@Anna Please stop posting your homework questions. Answers is not a service where we do your homework for you.
I’m sorry its not homework, its extra work I’m doing to make sure if im doing the steps correctly!

Sign in to comment.

 Accepted Answer

Torsten
Torsten on 19 May 2022
Edited: Torsten on 19 May 2022
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 Comments

Thank you! Can you please do the other part too?
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Asked:

N/A
on 19 May 2022

Edited:

N/A
on 19 May 2022

Community Treasure Hunt

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

Start Hunting!