extracting max and min range across column from matrix

1 次查看(过去 30 天)
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 个评论
Praveen Kumar Ramani
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

请先登录,再进行评论。

回答(1 个)

madhan ravi
madhan ravi 2019-4-29
编辑:madhan ravi 2019-4-29
arrayfun(@(x,y) x:y, min_of_A, max_of_A, 'un', 0)

类别

Help CenterFile Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by