if i have a function with two outputs , for example :
[m n]=fun(x)
how can i get (n) only without calling (m) first ? ================================================ if i want to get m [m]=fun(x)
but what about getting (n) only ?

 채택된 답변

James Tursa
James Tursa 2015년 11월 13일

0 개 추천

You can call it like this:
[~,n] = fun(x);

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2015년 11월 13일

답변:

2015년 11월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by