Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

the minimum of some boxes in a row of matrix

1 view (last 30 days)
Imane hammou ouali
Imane hammou ouali on 15 Mar 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
hello community,
I want to return the minimum of some boxes in a row of matrix .
hepl plzz!
  3 Comments
KSSV
KSSV on 15 Mar 2019
What is minimum of some boxes?
Imane hammou ouali
Imane hammou ouali on 15 Mar 2019
juste like i have :
int1=1:3
c1=[2 4] % for the frst iteration
int2=1:length(c1)
my Matrix is A=[0 4 0 6;0 3 0 0;0 0 0 0]
i wana return the mimum of A(int1,c1(int2)) and A(int1),c1(int2)) // A(1,2) and A(1,4)that means i wana return (4) in the firts row
for the second iteration int1=2
c1=[2] in this case i'll return just 3 because
for int1=3
c1=[0] int this case all the arrow will be 0
i know it's a little bit complicated but i really need help. thank you in advance

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!