Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

the minimum of some boxes in a row of matrix

1 vue (au cours des 30 derniers jours)
Imane hammou ouali
Imane hammou ouali le 15 Mar 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
hello community,
I want to return the minimum of some boxes in a row of matrix .
hepl plzz!
  3 commentaires
KSSV
KSSV le 15 Mar 2019
What is minimum of some boxes?
Imane hammou ouali
Imane hammou ouali le 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

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by