Help with matrix question

I need the code steps to help me solve this

3 个评论

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!

请先登录,再进行评论。

 采纳的回答

Torsten
Torsten 2022-5-19
编辑:Torsten 2022-5-19
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 个评论

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.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by