Make a function with vectors as variables
Afficher commentaires plus anciens
Hi everyone.
I want to make a function that takes three vectors and uses them as the variables (for an example)
f([a1,a2],[x0,y0,z0], [d1,d2]) = (a1*a2)/(x0+y0)*(z0+d1+d2).^2
How should I code this in MATLAB?
Thanks in advance! Maja
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!