Why sometimes we place an empty brackets inside function inputs?

10 visualizaciones (últimos 30 días)
I don't know the purpose or the mean of these empty square brakets inside many functions, for instance:
min( a, [ ],2)
imshow(a, [ ])

Respuesta aceptada

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH el 15 de Feb. de 2020
means that the second value the function receives is empty, in both cases
if you give a value to that second parameter to "min" the function will convert the largest values of "a" into the value you assign to that parameter
You can check the official documentation here:

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by