extracting max and min range across column from matrix

1 visualizzazione (ultimi 30 giorni)
i have mx4 martrix and i found max and min of each column in two separate I 1x4 and O 1x4 martix now i want to extract corresponding range from main matrix across column
  2 Commenti
KSSV
KSSV il 29 Apr 2019
What do you mean by corresponding range?
Praveen Kumar Ramani
Praveen Kumar Ramani il 29 Apr 2019
i have 68X4 A matix min of A ind 1X4 matix and max of A ind 1x4 matrix.... i want to arrive new A matrix only range from min:max of all column

Accedi per commentare.

Risposte (1)

madhan ravi
madhan ravi il 29 Apr 2019
Modificato: madhan ravi il 29 Apr 2019
arrayfun(@(x,y) x:y, min_of_A, max_of_A, 'un', 0)

Categorie

Scopri di più su Shifting and Sorting Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by