필터 지우기
필터 지우기

unwanted variable can I not assign

조회 수: 3 (최근 30일)
galara
galara 2016년 10월 6일
답변: Jakub Mrowka 2016년 10월 6일
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?

채택된 답변

Jakub Mrowka
Jakub Mrowka 2016년 10월 6일
편집: Jakub Mrowka 2016년 10월 6일
If you don't want every answer from function just type "~" instead of variable.
Example:
[~,a2]=size(x)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by