Borrar filtros
Borrar filtros

unwanted variable can I not assign

3 visualizaciones (últimos 30 días)
galara
galara el 6 de Oct. de 2016
Respondida: Jakub Mrowka el 6 de Oct. de 2016
Hi, some function in matlab like "size" has options to give 2 outputs like "[a1,a2]=size(x)". But sometimes I don't want to waste space for another variable, is it possible to not do that?

Respuesta aceptada

Jakub Mrowka
Jakub Mrowka el 6 de Oct. de 2016
Editada: Jakub Mrowka el 6 de Oct. de 2016
If you don't want every answer from function just type "~" instead of variable.
Example:
[~,a2]=size(x)

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