Filter löschen
Filter löschen

Info

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

min max of a list of vectors

1 Ansicht (letzte 30 Tage)
soloby
soloby am 26 Jun. 2015
Geschlossen: Walter Roberson am 26 Jun. 2015
I have 4 variables A B C D which are all a list of 20 random numbers
A = <1x20 double>
B = <1x20 double>
C = <1x20 double>
D = <1x20 double>
I'm trying to have min(A/C, A/D, B/C, B/D)
to get something like
E = <1x20 double>
which outputs the minimum of each operation at corresponding iterations
I've tried:
H = [A./D,A./E,B./C,B./D];
I = min(H);
gives me a dimension error
any other thoughts? thank you

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by