Borrar filtros
Borrar filtros

Find out the minimum value from a column

3 visualizaciones (últimos 30 días)
NIRBAN CHAKRABORTY
NIRBAN CHAKRABORTY el 30 de En. de 2022
Respondida: KSSV el 30 de En. de 2022
Suppose I have a matrix of [3*10] now i want to find the minimum value from each column what will be the command for that?

Respuesta aceptada

KSSV
KSSV el 30 de En. de 2022
Read about the function min.
A = rand(3,10) ;
iwant = min(A) % this is same as min(A,[],1)

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by