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 ?

 Akzeptierte Antwort

James Tursa
James Tursa am 13 Nov. 2015

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by