Lien de la vidéo: Matlab #5: Les fonctions

    • Les fonctions
    • Déclaration et Appel
    • Exemples: addF, mulF
    • Les fonctions imbriquées: addMul
function s = addF( a,b )

s=a+b;

end
function s= mulF(a,b)

s=a.*b;

end
function [s1, s2]= addMul(a,b)

s1 = addF( a,b );
s2 = mulF( a,b );

end

[maxbutton id= »3″ url= »https://www.electronique-mixte.fr/formation-pdf/formation-pdf-matlab/ » text= »Retour à l’Accueil Matlab » ]

Click to rate this post!
[Total: 0 Average: 0]

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Retour en haut

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

FPGA | Arduino | Matlab | Cours will use the information you provide on this form to be in touch with you and to provide updates and marketing.