Help with matrix question

2 views (last 30 days)
N/A on 19 May 2022
Edited: N/A on 19 May 2022
I need the code steps to help me solve this
N/A on 19 May 2022
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 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 ?
John D'Errico
John D'Errico on 19 May 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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by