Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

the minimum of some boxes in a row of matrix

1 Ansicht (letzte 30 Tage)
Imane hammou ouali
Imane hammou ouali am 15 Mär. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
hello community,
I want to return the minimum of some boxes in a row of matrix .
hepl plzz!
  3 Kommentare
KSSV
KSSV am 15 Mär. 2019
What is minimum of some boxes?
Imane hammou ouali
Imane hammou ouali am 15 Mär. 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

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by