Azzera filtri
Azzera filtri

Function with Multiple Outputs

1 visualizzazione (ultimi 30 giorni)
Abdelwahab Fawzy
Abdelwahab Fawzy il 13 Nov 2015
Risposto: James Tursa il 13 Nov 2015
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 ?

Risposta accettata

James Tursa
James Tursa il 13 Nov 2015
You can call it like this:
[~,n] = fun(x);

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by