Effacer les filtres
Effacer les filtres

Function with Multiple Outputs

1 vue (au cours des 30 derniers jours)
Abdelwahab Fawzy
Abdelwahab Fawzy le 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 ?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by