unwanted variable can I not assign
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
galara
am 6 Okt. 2016
Beantwortet: Jakub Mrowka
am 6 Okt. 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?
0 Kommentare
Akzeptierte Antwort
Jakub Mrowka
am 6 Okt. 2016
Bearbeitet: Jakub Mrowka
am 6 Okt. 2016
If you don't want every answer from function just type "~" instead of variable.
Example:
[~,a2]=size(x)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!