Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

the minimum of some boxes in a row of matrix

1 visualizzazione (ultimi 30 giorni)
Imane hammou ouali
Imane hammou ouali il 15 Mar 2019
Chiuso: MATLAB Answer Bot il 20 Ago 2021
hello community,
I want to return the minimum of some boxes in a row of matrix .
hepl plzz!
  3 Commenti
KSSV
KSSV il 15 Mar 2019
What is minimum of some boxes?
Imane hammou ouali
Imane hammou ouali il 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

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by