Finding minimum values of individual double arrays in a cell array
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Karthick Jonagadla
el 27 de Abr. de 2016
Comentada: Karthick Jonagadla
el 28 de Abr. de 2016
The following is in the cell array [9,10,11,12,13,14,15,16]; [13,14,15,16,17,18,19,20,21]
ie. [9,10,11,12,13,14,15,16] which is double is the first element of the cell array and [13,14,15,16,17,18,19,20,21] in the second element of the cell array
I am looking for a function where i can get the minimum value of the individual array. I know how to do it via for loops. I am looking for a better solution
0 comentarios
Respuesta aceptada
KSSV
el 27 de Abr. de 2016
k = {[9,10,11,12,13,14,15,16]; [13,14,15,16,17,18,19,20,21]} ;
r = cellfun(@min,k)
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Types en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!